Running Simio from Matlab using .NET

2 ビュー (過去 30 日間)
Esmarie Scholtz
Esmarie Scholtz 2013 年 10 月 7 日
I am trying to run a Simio model from MATLAB for my Master's. I know this can be done because my predecessor did this.
My problem is that she used an ID to get hold of IExperiments and I cannot find the appropriate ID for my case.
NET.addAssembly('C:\Program Files (x86)\Simio\SimioDLL.dll'); simproj = SimioAPI.SimioProjectFactory.LoadProject('C:\Users\bloodsc.spfx'); %load simio IProject xp = ToArray(simproj.xnafFlwJhE);%expose array of IExperiments in Simio
She can then Reset(xp(1)) and Run(xp(1)).
Can you please tell me how to find the ID for the experiments object?
Or, alternatively, how to call the experiments object from MATLAB so that it can be Reset() and Run()?

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall MATLAB from .NET についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by