Matlab compiler doesn't build applications.

3 ビュー (過去 30 日間)
Diego
Diego 2014 年 9 月 9 日
回答済み: Harsheel 2014 年 9 月 15 日
Hello, Suddenly my compiler won't build my applications anymore. I have tried to reinstall the compiler, and I even found some links to similar problems, but with no luck at all. I have been able to compile the same applications on other computers with success. The error that I get follows in the end (Last line in red)
by the way, I'm running Matlab Compiler version 8.0 with Matlab R2012b, on Ubuntu 14.04. Thanks.
ant:
<mkdir dir="/home/user/Dropbox/Project/distrib" />
<mkdir dir="/home/user/Dropbox/Project/src" />
mcc -o project -W main:project -T link:exe -d /home/user/Dropbox/Project/src -N -p database -p finance -p stats -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v /home/user/Dropbox/Project/calculateScore.m
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid

回答 (1 件)

Harsheel
Harsheel 2014 年 9 月 15 日
Seems like you may have to use the C locale. For example in bash:
export LANG=C
Or csh:
setenv LANG C

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by