Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Problem using simscape model provided in Matlab File exchange

Asked by Aravind Kumar on 19 Jul 2013

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

http://www.mathworks.com/matlabcentral/fileexchange/25014-simscape-language-dc-motor

 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

0 Comments

Aravind Kumar

Products

2 Answers

Answer by Shashank Prasanna on 19 Jul 2013
Accepted answer

Hi Arvind, Check the support compilers and install them:

http://www.mathworks.com/support/compilers/R2013a/index.html

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

http://www.mathworks.com/matlabcentral/fileexchange/authors/29641

3 Comments

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..

Shashank Prasanna
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.

Aravind Kumar

Contact us