필터 지우기
필터 지우기

Excel add-in say´s "MATLAB is not running, do you want run MATLAB now?". How to solve this problem?

조회 수: 4 (최근 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

채택된 답변

Friedrich
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)

추가 답변 (1개)

Walter Roberson
Walter Roberson 2013년 6월 2일
  댓글 수: 3
Walter Roberson
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 ?
Artur M. G. Lourenço
Artur M. G. Lourenço 2013년 6월 3일
I did all the procedure.
The default Automation Server for "MATLAB.Application" on this machine is:
ProgId: Matlab.Application (Version 8.1)
LocalServer32: C:\Program Files\MATLAB\R2013a\bin\win64\matlab.exe /MLAutomation
CLSID: {8DE84D10-9F9D-4D03-ABC0-B5C2F63F7492}
File exists: 'C:\Program Files\MATLAB\R2013a\bin\win64\matlab.exe'

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by