Info

この質問は閉じられています。 編集または回答するには再度開いてください。

mathlab simulink function error?

1 回表示 (過去 30 日間)
zewl elena
zewl elena 2012 年 10 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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?

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 10 月 4 日
What happened when you commanded
mex -setup
at the MATLAB command window?

zewl elena
zewl elena 2012 年 10 月 4 日
it shows this,
Welcome to mex -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2011b/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n?
  6 件のコメント
Walter Roberson
Walter Roberson 2012 年 10 月 4 日
Please show the entire transcript of your attempt to mex -setup . Perhaps someone will recognize something in the details.
zewl elena
zewl elena 2012 年 10 月 4 日
just like this: Welcome to mex -setup. This utility will help you set up a default compiler. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2011b/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
No supported SDK or compiler was found on this computer. For a list of supported compilers, see http://www.mathworks.com/support/compilers/R2011b/win64.html
Error using mex (line 206) Unable to complete successfully.
do u think i should uninstall n install again?

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by