- Shut down all MATLAB and Excel® sessions.
- Open a command prompt window, and using cd, change to the bin\win64 subfolder of the MATLAB installation folder.
- Enter the command:
Why do I get a 'Please register MATLAB Software as a COM Server' message in Excel after setting up the Excel Spreadsheet Link Add-In?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 15 Jan 2018
Réponse apportée : MathWorks Support Team
le 15 Jan 2018
When trying to start MATLAB through Excel, I keep getting the error message:
MATLAB Startup Error
Unable to start MATLAB. Please register MATLAB Software as a COM Server.
I have already set up the Excel Spreadsheet Link Add-In. Why do I keep receiving this error message?
Réponse acceptée
MathWorks Support Team
le 14 Fév 2018
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 <https://www.mathworks.com/help/exlink/mlprogramid.html MLProgramId>.
Ensure that the correct MATLAB version appears in the Preferences dialog box before starting MATLAB. For details, see <https://www.mathworks.com/help/exlink/setting-spreadsheet-link-preferences.html 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:
.\matlab /regserver
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!