Sunday, March 1, 2015
Matlab Simulink Coder Compile Error sfun bat not found
How-I-fixed-it:
The problem was caused by an incorrect setup of the C-Compilers on my system. I had multiple versions of Visual Studio installed on my computer and it seems like after a couple of update steps of Visual Studio and Matlab, Matlab got confused.
I had to rerun "mex -setup" from the Matlab command line and selected the Compiler Microsoft Visual C++ 2010 in C:Program Files (x86)Microsoft Visual Studio 10.0
After that, the model compiled OK and i was able to run it.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment