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 CenterFile Exchange에서 Call MATLAB from .NET에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by