Matlab compiler doesn't build applications.

2 views (last 30 days)
Diego
Diego on 9 Sep 2014
Answered: Harsheel on 15 Sep 2014
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

Answers (1)

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

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!