Cannot compile simulink model even after install compiler

조회 수: 2 (최근 30일)
Kelsie Zhao
Kelsie Zhao 2015년 1월 27일
편집: Kelsie Zhao 2015년 1월 27일
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..

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by