Cannot compile simulink model even after install compiler

1 view (last 30 days)
I am running 64bit Matlab R2013 on Windows 7. I have downloaded and installed Windows SDK 7.1. It is installed to C:\Program Files (x86)\Microsoft Visual Studio 10.0\
I have set up the compiler in Matlab by typing mex -setup
it was able to locate my compiler and I followed the steps and finished installation.
However, when I tried to run my simulink model "simOrbithw3.mdl", it prompted the following sentences:
Making simulation target "simOrbithw3_sfun", ...
'simOrbithw3_sfun.bat' is not recognized as an internal or external command, operable program or batch file.
I know these lines appear when the compiler is not set up but I have my compiler ready. Why am I still getting this? How to fix this problem?
I am thinking that my Matlab is 64 bit, but the compiler is installed to 32 bit program files folders; might that be the reason? But that is the default setup from Window SDK 7.1 installer and I didn't change anything..

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!