10-22-2014 04:35 AM
Dear all,
I have occurred a problem when converting a simulink model to dll which is imported into veristand.
The following pic is the erro message. Pls give some advice to resolve this problem.Thank you very much!
10-22-2014 05:28 AM
Hi,
Like stated at the end of the message, you should entre the command mex -setup at the matlab prompt, this will you let select the C++ compiler that simulink will use for compiling.
Regards,
10-22-2014 11:36 AM
It looks like you have not the compiler installed. try to follow this tutorial:
10-23-2014 08:48 PM
Tanks for your solution. I do need VC++ Complier. Now I have installed VC++ 2010, but I can't find the complier using command "mex -setup" in matlab command window.
10-24-2014 12:14 AM
Hello AG1984,
To better assist you, would you please provide me with your Simulink and VeriStand versions.
10-24-2014 01:26 AM
Hi Nestor,
Thanks for your advice. Now I have solve the problem. My matlab version is 2010a. So I use the command "mex.getCompilerConfiguration('VC++','Supported')" to find that VC++2010 is not supported by Matlab 2010a. So I installed VC++2008 and everything is OK.
Now I can import .dll/.mdl/.lvmdl format model to veristand.
By the way, it seems that we can reallize RCP and HIL by veristand. Could you offer some demos on these two field, I mean RCP and HIL?
Thank you!