MATLAB Answers


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

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


Log in to comment.

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


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.

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.

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

Log in to comment.

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

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.

Log in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today