05-23-2022 03:48 PM
Hello all. I have followed NI's instructions carefully and cannot get Simulink to build a DLL. I can generate code, and get all the .h files and .c files, but I cannot get the .dll made. I keep getting the error below. I have tried re-installing, repairing .NET Framework 4.5 issues, looked at Path variables, etc. Has anyone had this and solved it?
My setup is LabVIEW 2021 with Model Interface Toolkit, MatLab 2022a, Veristand 2021 R2, etc.
05-26-2022 11:47 AM
Is your end goal to integrate with VeriStand or LabVIEW MIT? I ask because there are two different toolchains now to compile models.
05-26-2022 01:08 PM - edited 05-26-2022 01:11 PM
I have Visual Studio 2022 installed. MATLAB is linked to the Microsoft Visual C++ 2022 compiler.
To be specific, my toolchain is:
MATLAB 2022a, Visual Studio 2022, LabVIEW 2021 with MIT, and Veristand 2021 with MIT.
My goal is to build a DLL with Simulink that can be used by the LabVIEW MIT. Could it be that MATLAB 2022a is too new and I need 2020a?
05-31-2022 10:19 AM
Can someone edit my post Subject? Replace "but" with "not".
The current thinking at this point is that my instance of MATLAB 2022a is NOT compatible with the Veristand Model Framework Toolkit. You have to use 2020a or older.