ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling a model in MathWorks

We are trying to compile a Model in MathWorks Simulink software.
An error occurs in the building part after setting it according to the tutorial.
How can I solve this?
 
 
The link below is what I referenced.
 
0 Kudos
Message 1 of 2
(1,397 Views)

Hi there,

 

Try uninstalling all the frameworks & runtimes  and install original .NET4.0 before being able to install SDK, and then reinstall all that stuff. I'm using R2016a, because I think it's the latest version compatible with VC2010 32 bits DLL code generation.

Also, to verify that the compiler has been installed, type in the Matlab Command window:

 

mex -setup

 

Matlab should reply:

MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.

 

Let me know what happens with you 🙂

Best,

0 Kudos
Message 2 of 2
(1,287 Views)