User`s guide
Change Report Locale
4-17
Change Report Locale
Versions 2.0 and later of the MATLAB Report Generator and Simulink Report Generator
software use the locale (system language settings) through the Oracle
®
Java interface;
therefore, they should use the language specified on your system.
Alternatively, you can change the language directly in Java from the MATLAB command
line. The following example sets the language to Italian:
java.util.Locale.setDefault(java.util.Locale.ITALY)
Alternatively, you can set the preferred language directly in your .rpt file:
1
Right-click the Report component and select Send to Workspace.
This displays the properties of the report, which are stored in the variable ans.
Access the report's Language property from the command line through this variable.
By default, Language is auto, which indicates that the system's default language is
in use.
2
Override the default value of Language by setting this property to your desired
language; for example, en for English or it for Italian.