MATLAB Answers

Aravind Kumar

Problem using simscape model provided in Matlab File exchange

Asked by Aravind Kumar
on 19 Jul 2013
Latest activity Edited by per isakson
on 13 Nov 2015 at 1:59

I am using R2009a. I downloaded the model file in the followling link.

While building the simscape model using the scc_build it shows some error. The error is the following.

*Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify. *

when I run mex -setup command it again shows the following commands

*_>> mex -setup Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n? y

Select a compiler:

[0] None

Compiler: _*

Please suggest what might be the problem


2 Answers

Answer by Shashank Prasanna
on 19 Jul 2013
 Accepted answer

Hi Arvind, Check the support compilers and install them:

If you still see an issue feel free to contact the author of the submission


Shashank Prasanna
on 19 Jul 2013

mex -setup will tell you what compilers you have installed. Looks like you don't have any. Please use the link above to get the free supported compiler.

Shashank Prasanna
on 19 Jul 2013

Again if you have more file specific questions the author of the file will be the best person to help you. I already provided the link above.

Aravind Kumar
on 21 Jul 2013

Thanks Shashank.. I installed the compiler and its working fine now..

Answer by Aravind Kumar
on 19 Jul 2013

How do I check what compilers are present and what else are required to run this particular file?

  1 Comment

Shashank Prasanna
on 19 Jul 2013

Please see my answer in the comment above. This will make it easier to track an answer if someone else is looking for an answer to the same question.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!