Excel automation and Matlab automation server

1 Ansicht (letzte 30 Tage)
Alain
Alain am 8 Jul. 2011
I did a simple excel macro which runs matlab functions sucessfully in a machine with Matlab installed.
Now I want to run it in a computer without matlab, with "MATLAB Compiler Run Time" installed. I can add the Matlb automation server type file (mlapp.tlb) sucessfully, but when I try to run it, I get this error: "ActiveX component can't create object"
In this line: Set matlab = New MLApp.MLApp
Do you know what is missing?
Thanks

Akzeptierte Antwort

Friedrich
Friedrich am 8 Jul. 2011
You can’t use the MCR as MATLAB Automation Server! This wouldn't make any sense since one wouldn't need to buy MATLAB any more!
Using MATLAB Automation Server requires an installed ML on the system. Maybe consider using MATLAB Builder for EX:

Weitere Antworten (0)

Kategorien

Mehr zu Use COM Objects in MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by