If on starting matlab, you get this error:
terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid
Set this environment variable.
$ export LC_ALL="en_US.utf8"
Matlab should then start ok.