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)
.rpt
file:
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
isauto
, which indicates that the system's default language is in use.Override the default value of
Language
by setting this property to your desired language; for example,en
for English orit
for Italian.