Matlab compiler doesn't build applications.

조회 수: 2 (최근 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 CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by