Simulink Reference Previous page   Next Page
slCharacterEncoding

Change the MATLAB character set encoding.

Syntax

Description

This command allows you to change the current MATLAB character set encoding to be compatible with the encoding of a model that you want to open.

slCharacterEncoding() returns the current MATLAB character set encoding.

slCharacterEncoding(encoding) change the MATLAB character set encoding to the specified encoding. Valid values include:

To display a complete list of the names of character set encodings supported by MATLAB and the characters supported by the encodings, use the ICU Converter Explorer at http://oss.software.ibm.com/cgi-bin/icu/convexp. The first column of the ICU Converter Explorer lists the primary names of the character sets supported by MATLAB. The remaining columns list aliases for the character sets. The slCharacterEncoding command accepts the aliases as well as the primary names of character sets. To display a table listing the characters supported by a character set and the encodings for the characters, click the character set's primary name in the ICU Converter Explorer.


Previous page  simulink sldiscmdl Next page

© 1994-2005 The MathWorks, Inc.