generating c code from MATLAB using matlab coder

hi i am using MATLAB R2012b version. i have to generate c code from MATLAB code using MATLAB coder but it is showing an error while the code which is: Could not locate the MEX compiler options file mexopts.bat. Run mex -setup to select the MEX compiler and create the MEX options file
i have run the command mex -setup but still it is showing no compiler on system while i have also installed Windows Software Development Kit (SDK) for Windows 8.1

回答 (1 件)

Tushar Sinha
Tushar Sinha 2014 年 6 月 16 日

0 投票

The "Windows Software Development Kit (SDK) for Windows 8.1" is not a supported compiler for MATLAB R2012b. Check the following link for information on the supported compilers for R2012b(64 bit):

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

タグ

質問済み:

2014 年 5 月 23 日

回答済み:

2014 年 6 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by