Running Simio from Matlab using .NET
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call MATLAB from .NET 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!