To set the user locale (region) on Mac OS X 10.9 and 10.10:
Select System Preferences >Language & Region.
Select an item from the Region menu.
To set the UI (preferred) language:
From the Language & Region menu, either drag an existing item to the top of the Preferred languages list, or select the + button to add a language.
MATLAB® detects the latest setting; you do not need to restart your system.
Changing the preferred language might change the locale to a value that MATLAB does not support. When this happens, you might see garbled text or incorrect characters. To fix this problem, change the Format language value:
From the Language & Region menu, change the Preferred languages value to the original value.
Click the Advanced... button, and make note of the Format language value.
Change the Preferred languages value back to your preferred language.
Click the Advanced... button again. If the Format language value changed, reselect the original language value.
If your user-specified locale is not supported, MATLAB uses
the default locale