一、 Change language options for MATLAB

In MATLAB, we can switch the interface to English by changing the language options. The specific operation steps are as follows:

    1. Open the MATLAB software and click on the "Preferences" option;
    2. In the pop-up window, select the "General" tab;
    3. In the "General" tab, locate the "Language" option and switch it to "English";
    4. Finally, click the "OK" button to save the settings.

二、 Switching interface language using the command line

In addition to switching interface languages by changing language options, we can also set them through the command line. The specific steps are as follows:


    1. Open MATLAB software and enter the command window;

    2. Enter the following command:

Com. pathworks. services. Prefs. setBoolean Pref ('EditorMlUseEnglishForEditorAndDesktop ', true) and press Enter;
    3. Close the MATLAB software and reopen it to take effect.

三、 Use shortcut keys to switch interface language

We can also switch the interface language of MATLAB through shortcut keys. The specific operation steps are as follows:

    1. Open the MATLAB software and press the combination keys "Ctrl+Shift+H";
    2. In the pop-up window, switch the interface language to "English";
    3. Finally, click the "OK" button to save the settings.
    4、 Modify the configuration file of MATLAB

If none of the above methods can be used, we can also try modifying the MATLAB configuration file to achieve the purpose of switching interface languages. The specific steps are as follows:

1. Open MATLAB software, enter a command window, and enter the following command to view the configuration file path: prefdir;

2. Find and open the "Matlab. prf" file under this path, and use Notepad or other text editor for editing;

3. Set the value of the "EditorMlUseEnglishForEditorAndDesktop" option to "true", then save and close the file;

4. Finally, restart the MATLAB software to take effect.