Documentation

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