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

6 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2010 年 7 月 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"

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC MEX ファイル アプリケーション についてさらに検索

Community Treasure Hunt

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

Start Hunting!