Change MATLAB character set encoding
currentCharacterEncoding = slCharacterEncoding()
currentCharacterEncoding = slCharacterEncoding() returns the current MATLAB character set encoding.
slCharacterEncoding(encoding) changes the MATLAB character set encoding to the specified encoding. You should only specify these values:
If you want to use a different character encoding, you need to start MATLAB with the appropriate locale settings for your operating system. Consult your operating system manual to change the locale setting. Simulink® can support any character encoding that uses single-byte or double-byte characters.