Running Simio from Matlab using .NET

1 visualización (últimos 30 días)
Esmarie Scholtz
Esmarie Scholtz el 7 de Oct. de 2013
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()?

Respuestas (0)

Categorías

Más información sobre Call MATLAB from .NET en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by