Matlab: C Locale Name Not Valid

Matlab has crashed for some users due to an unhandled exception relating to the locale environment:

pacman14 % matlab terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted (core dumped)

A workaround is to set the LC_ALL environment variable to an appropriate locale before starting Matlab:

export LC_ALL="en_US.utf8"
Back to Top