MATLAB® reads the user locale and system locale on Windows® platforms.
To specify the locale to be used by MATLAB on Linux® platforms,
LANG environment variable.
MATLAB reads the user locale setting on the Apple macOS platform.
The locale setting defines the language of your user interface and the display formats for information like time, date, and currency.
MATLAB reads the user locale for all categories
except for the
numeric category (which is equivalent
MathWorks® provides localized versions of MATLAB for selected non-English platforms.
The user locale and system locale must be the same value on the Microsoft® Windows platform.
On Windows and Linux platforms, characters used in file or folder names must be in the supported character set.
Non-7-bit ASCII characters in plain text files, such as MATLAB scripts or functions, created with one locale setting might not be compatible with a different locale setting.
The results of the
vary depending on the locale.
MATLAB does not support non 7-bit ASCII characters in several features.
MATLAB ignores the customized portion of the locale setting on Mac platforms.
Older X servers might not recognize international keyboard layouts and can produce incorrect characters in Simulink®.