Why is MATLAB not started automatically and the Excel sheet not updated when I open it after installing a new Excel Link version?
3 views (last 30 days)
Show older comments
I have multiple versions of MATLAB and Excel Link/Spreadsheet Link EX installed on my machine. I have added the new Excel Link Add-Ins version but an older version of MATLAB launches with Excel even though I have updated the Excel Link/Spreadsheet Link EX plug-in. How do I set up my newer version of MATLAB to launch with Excel?
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The version of MATLAB that launches with Excel Link/Spreadsheet Link EX is the last one that was registered as a COM server. This is typically done after MATLAB is installed. However, you can manually over ride this by using the following steps.
1. Launch the version of MATLAB that you would like to start up when Excel Starts.
2. Execute the following line of code at the MATLAB command prompt:
!matlab /regserver
A COM server version of MATLAB will start on the toolbar. You can close the COM server version and the client. Then restart Excel, and if needed click the “Start MATLAB” button in the Spreadsheet Link EX toolbar.
0 Comments
More Answers (0)
See Also
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!