フィルターのクリア

How can I remove the error?

2 ビュー (過去 30 日間)
ali khodaparasti
ali khodaparasti 2013 年 6 月 20 日
Hi. I have a problem when I run simulink that has MPC controller block. It notice the error: " Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler. " what should I do??? tnx.

採用された回答

Kaustubha Govind
Kaustubha Govind 2013 年 6 月 20 日
As the error message suggests, you need to run the mex -setup command to select a C compiler. If the utility does not automatically locate any installed compilers, you need to install a Supported Compiler (look against your release and platform), restart MATLAB and try running mex -setup again.
  2 件のコメント
ali khodaparasti
ali khodaparasti 2013 年 6 月 21 日
hello Kaustubha Govind...! tnx for your help,but the strange thing is that although I installed "The Microsoft Visual C++ 2010 Redistributable" on my system,but also I confront this error. A question: How should I try running " mex -setup " ??? tnx a lot.
Vishal Rane
Vishal Rane 2013 年 6 月 21 日
run
mex -setup
in the matlab command window. Refer mex

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Plant Specification についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by