mathlab simulink function error?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
hello guys im new with this matlab. i just want to try to run the simulation i have in the forum but i got this error
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
can u help me what should i do?
Answers (2)
Walter Roberson
on 4 Oct 2012
What happened when you commanded
mex -setup
at the MATLAB command window?
zewl elena
on 4 Oct 2012
0 votes
6 Comments
Walter Roberson
on 4 Oct 2012
And when you told it to go ahead and locate the installed compilers?
zewl elena
on 4 Oct 2012
Walter Roberson
on 4 Oct 2012
Hmmm. Have you installed the 64 bit compiler and SDK 7.1 as indicated in the link mentioned above, http://www.mathworks.com/support/compilers/R2011b/win64.html
zewl elena
on 4 Oct 2012
Walter Roberson
on 4 Oct 2012
Please show the entire transcript of your attempt to mex -setup . Perhaps someone will recognize something in the details.
zewl elena
on 4 Oct 2012
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!