LCCの問題で、環境変数TEMPに日本語を含むとコンパイルが正常に終了しません。環境変数の設定にて、TEMPの値を C:\Temp 等の日本語を含まないパスに設定してください。
環境変数TEMPに日本語が含まれると、LCCがエラーを出力するのはなぜですか?
6 次查看(过去 30 天)
显示 更早的评论
mex -setup にてLCCを選択し、MEXコンパイルやエンジン機能、Real-Time Workshop関連のビルドを行うとエラーが発生します。
cannot open c:\docume~1\ユーザ名\locals~1\temp\mex_c14657a1-d722-4455-01a8-6069758e8df4\templib2.obj
C:\MATLAB\2006B\BIN\MEX.PL: Error: Link of '..\modelname_sf.mexw32' failed.
gmake: *** [../modelname_sf.mexw32] Error 0x2
gmake: *** Deleting file `../modelname_sf.mexw32'
ans =
エラー: ==> RTW.genMakefileAndBuild
Error(s) encountered while building model "modelname"
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C MEX ファイル アプリケーション 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!