MATLAB Answers

Diego
0

Matlab compiler doesn't build applications.

Asked by Diego
on 9 Sep 2014
Latest activity Answered by 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

  0 Comments

Sign in to comment.

1 Answer

Answer by 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

  0 Comments

Sign in to comment.