How can i install c compiler on 64 bit computer to run stateflow

1 回表示 (過去 30 日間)
Jalaj Bidwai
Jalaj Bidwai 2014 年 3 月 21 日
回答済み: Friedrich 2014 年 3 月 21 日
I have Matlab R2010a. When I run a stateflow chart it gives me an error of missing c compiler. Suggestions on the internet says to run mex -setup in the command line.I did that. But I am getting the following error. Can any one please suggest a step-by-step procedure to run stateflow on my R2010a matlab.
>> 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: 0
mex: No compiler selected. No action taken.
************************************************************************ Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9 Building with the -largeArrayDims option enables the new API. ************************************************************************
>>

採用された回答

Friedrich
Friedrich 2014 年 3 月 21 日
You need to install a compiler which R2010a supports. A list of supported compiler can be found here. After you have done that run mex -setup again to select it and you are good to go.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by