Language used in the env

3 vues (au cours des 30 derniers jours)
Jacob Thomas
Jacob Thomas le 5 Déc 2023
Commenté : Jacob Thomas le 12 Déc 2023
Hi,
Is there any possibility checkibg what language is used in the MATLAB and Simulink enviornment or is there any way to check what re the preference settings enebaled in the enviornment.
  4 commentaires
Steven Lord
Steven Lord le 6 Déc 2023
And how to get that information likely depends on what OS you're using. I'm not sure the same command would necessarily work on Windows, Linux, and Mac.
Jacob Thomas
Jacob Thomas le 9 Déc 2023
may I know what command is used for that?

Connectez-vous pour commenter.

Réponse acceptée

Ayush Anand
Ayush Anand le 11 Déc 2023
Hi Jacob,
You can use the following command to get the language preference set in MATLAB:
locale = get(0, 'Language')
Since Simulink is integrated with MATLAB, it follows the same locale settings that MATLAB uses. Therefore, the command mentioned above should also reflect the language being used in the Simulink environment.
You can refer to the following page to read more on language preference in MATLAB:
I hope this helps resolve your query.
  1 commentaire
Jacob Thomas
Jacob Thomas le 12 Déc 2023
Many thanks.!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by