環境変数TEMPに日​本語が含まれると、L​CCがエラーを出力す​るのはなぜですか?

7 views (last 30 days)
MathWorks Support Team
MathWorks Support Team on 30 Jul 2010
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"

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 30 Jul 2010
LCCの問題で、環境変数TEMPに日本語を含むとコンパイルが正常に終了しません。環境変数の設定にて、TEMPの値を C:\Temp 等の日本語を含まないパスに設定してください。

More Answers (0)

Community Treasure Hunt

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

Start Hunting!