Excel add-in say´s "MATLAB is not running, do you want run MATLAB now?". How to solve this problem?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi!
When I try to use exlink in excel (putmatrix, getmatrix) although MATLAB 2013a is open, excel opens new MATLAB which looks like ML5.3(only command window). I've tried run MATLAB first then Excel and vice versa, but it's always the same-"MATLAB is not running, do you want run MATLAB now?".
Does anybody know where is the problem?
Artur
0 件のコメント
採用された回答
Friedrich
2013 年 6 月 3 日
編集済み: Friedrich
2013 年 6 月 3 日
Hi,
this is the default behavior. If MATLAB is opened manually its not started as COM Server. Its a normal MATLAB session. If you want that Excel connects to that session of MATLAB run in MATLAB:
enableservice('AutomationServer',true)
After that do what you like to do in Excel.
In addition when starting MATLAB from Excel its also default behavior that you get the command window only. You can change that in the Spreadsheet Link EX settings (there is a checkbox called "use MATLAB desktop", enable that one)
0 件のコメント
その他の回答 (1 件)
Walter Roberson
2013 年 6 月 2 日
3 件のコメント
Walter Roberson
2013 年 6 月 3 日
It gave an error? It didn't help? What did it report as being the currently running automation server? Did you try re-registering your automation server as shown at the bottom of the solution ?
参考
カテゴリ
Help Center および File Exchange で Excel Integration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!