How can I get full access to ModelCenter COM Object tools?
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
Answers (0)
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!