Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

Setting the Locale

Setting Locale on Windows Platforms

MATLAB software uses the system locale and user locale on Windows platforms:

Setting User Locale on Windows Vista Platforms

  1. Select Start -> Control Panel -> Regional and Language Options.

  2. Open Formats tab.

  3. Select an item from the drop-down list.

Setting System Locale on Windows Vista Platforms

  1. Select Start -> Control Panel -> Regional and Language Options.

  2. Open Administrative tab.

  3. Click Change system locale... button.

  4. Select an item from the drop-down list.

  5. Reboot the system.

Setting User Locale on Windows XP Platforms

  1. Select Start -> Control Panel -> Regional and Language Options.

  2. Open Regional Options tab.

  3. Select an item from the drop-down list.

Setting System Locale on Windows XP Platforms

  1. Select Start -> Control Panel -> Regional and Language Options.

  2. Open Advanced tab.

  3. Select an item from the drop-down list.

  4. Reboot the system.

Setting Locale on Linux and Solaris Platforms

Linux[1] and Sun Solaris™ platforms manage locale settings with six locale categories. These are the same categories used by C standard library functions.

The following locale categories are available:

Setting User Locale and User UI Language

Use the LANG environment variable to specify a single locale for all locale categories. The locale specified with this variable might be partially or entirely over-written by other environment variables.

Use the environment variables LC_CTYPE, LC_COLLATE, LC_TIME, LC_NUMERIC, and LC_MONETARY to specify a locale for a particular category.

Use the LC_ALL environment variable to over-write all locales specified with other environment variables. If a single locale has to be set to all locale categories, use LANG instead of LC_ALL.

Setting Locale on Macintosh Platforms

The Macintosh OS X platform manages the user locale setting and the user UI language setting.

Setting User Locale

  1. Select System Preferences ->International

  2. Open Formats tab

  3. Select an item from the Region pop-up menu

Setting UI Language

  1. Select System Preferences ->International

  2. Open Language tab

  3. Drag an item to the top of the Languages list


[1] Linux is a registered trademark of Linus Torvalds.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS