フィルターのクリア

How to simulate Stateflow?

3 ビュー (過去 30 日間)
Jigar Patel
Jigar Patel 2012 年 10 月 17 日
I am trying to simulate a model which has a state flow. While simulating it Matlab is giving me the error below. How do I Fix it?
"Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler."

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 17 日
編集済み: Azzi Abdelmalek 2012 年 10 月 17 日
In matlab command run
mex -setup
then choose your compiler. If you have a 32bits OS you will find at least LCC compiler, If you are using 64 bits OS then you have to install microsoft visuall c++ with sdk 7.1 or ms visual studio
  2 件のコメント
Jigar Patel
Jigar Patel 2012 年 10 月 18 日
Thanks for your help.
Rahul Chandegara
Rahul Chandegara 2012 年 10 月 19 日
a compatible version of Visual Studio 2008 was not detected on the system. This update is designed for only the Microsoft Visual Studio 2008 (ENU) product family, and is not compatible with any Express editions

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


Siddharth
Siddharth 2012 年 10 月 17 日
Find the list of supported compilers for 12b at the link below (check for your machine arch and OS): http://www.mathworks.com/support/compilers/R2012b/win64.html
Previous releases, find supported compilers here: http://www.mathworks.com/support/sysreq/previous_releases.html
  2 件のコメント
Jigar Patel
Jigar Patel 2012 年 10 月 18 日
Thanks!!!
Rahul Chandegara
Rahul Chandegara 2012 年 10 月 19 日
a compatible version of Visual Studio 2008 was not detected on the system. This update is designed for only the Microsoft Visual Studio 2008 (ENU) product family, and is not compatible with any Express editions

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

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by