Embedded MATLAB Function や Stateflow を含むモデルを64 bit 版MATLABで実行するとエラーが発生するのはなぜですか?
1 回表示 (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2013 年 10 月 25 日
編集済み: MathWorks Support Team
2021 年 2 月 24 日
Embedded MATLAB Functionブロックが含まれるモデルを 64bit 版 MATLAB で実行すると、以下のエラーダイアログが表示されます。
ERROR: Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler.
採用された回答
MathWorks Support Team
2021 年 3 月 1 日
編集済み: MathWorks Support Team
2021 年 2 月 24 日
上記エラーは、64 bit 環境に対応するコンパイラが設定されていない場合に発生します。
Embedded MATLAB Function ブロックや Stateflow チャートを含むモデルは、実行前に一旦ビルドされます。
なお、32bit 版 MATLAB では LCC コンパイラが付属していますが、LCC コンパイラは32 bit対応のコンパイラのため、64 bit 版 MATLAB では提供されていません。
64bit 版 MATLAB 上でコンパイラを設定していない場合には、下記 URL よりサポートされているコンパイラを参照してください。
・サポートされるコンパイラとその互換コンパイラ – Release 2010a
ご利用のバージョンが異なる場合は、ページ左のナビゲータより「過去のリリース(英語)ーサポートされるコンパイラ」を選択してください。
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!