環境変数TEMPに日本語が含まれると、LCCがエラーを出力するのはなぜですか?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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"
Risposta accettata
MathWorks Support Team
il 30 Lug 2010
LCCの問題で、環境変数TEMPに日本語を含むとコンパイルが正常に終了しません。環境変数の設定にて、TEMPの値を C:\Temp 等の日本語を含まないパスに設定してください。
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su C MEX ファイル アプリケーション in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!