This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Startup Errors

MATLAB Automatic Start Error

If you have enabled MLAutoStart and MLUseFullDesktop, right-clicking a spreadsheet file in the MATLAB® Current Folder browser and choosing Open Outside MATLAB causes a MATLAB System Error to appear. To open the file successfully, click End Now in the error window.

To avoid this issue, disable MLUseFullDesktop.

MATLAB Version Errors

If the MATLAB version is set incorrectly, MATLAB does not start and displays this error: Unable to start MATLAB. Please register MATLAB Software as a COM Server. Set the MATLAB version using MLProgramId.

Ensure that the correct MATLAB version appears in the Preferences dialog box before starting MATLAB. For details, see Setting Spreadsheet Link Preferences.

If MATLAB is installed on your computer and setting the MATLAB version does not work, use the last registered version to start MATLAB. To specify the last registered version of MATLAB:

  1. Shut down all MATLAB and Excel® sessions.

  2. Open a command prompt window, and using cd, change to the bin\win64 subfolder of the MATLAB installation folder.

  3. Enter the command:

    .\matlab /regserver

See Also


Related Topics