How can I get full access to ModelCenter COM Object tools?

2 Ansichten (letzte 30 Tage)
Josh
Josh am 18 Jul. 2013

I am using the software ModelCenter from Phoenix Integration to perform Monte Carlo analysis integrating Excel, Matlab and built-in routines. We are trying to take it a step further and perform customized trade studies by varying parameters one at a time, monitoring specific response variables. For most variables, this can be done with the following generic code:

mcCOM = actxserver('Phoenix.ModelCenter');
mcCOM.invoke('loadFile',<filename>);
mcCOM.invoke('setValue',<variable name>,<variable value>);
mcCOM.invoke('getValue',<variable name>);

Unlike the Excel actxserver connection, typing "mcCOM.invoke" doesn't return anything (returns void), so we are in the dark about what commands we can pass through mcCOM.

I found some documentation about ModelCenter COM Objects using VBA, C++, or JAVA, but cannot figure out how to convert that into Matlab code. I know much of Matlab's underlying code is in JAVA, so is it possible to access the ModelCenter JAVA COM Object tools from Matlab?

I've attached a screenshot of the ModelCenter documentation for some of their JAVA COM Object classes. I am not sure how to use this information to get something working in Matlab. If someone could help me get started with this, I'm sure that I can figure out the rest.

Thank you in advance, ~Josh

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