Open Simulink VR sink and scopes from VBA

Hi guys, I want to be able to run a simulink model from a VBA macro. I need to be able to see the VR world animation and scopes while the simulation is running. Or even just be able to record the VR animation. The simulink model does not need to be made visible.
Is this even possible. I can execute MATLAB commands from VBA with
Sub RunM() Dim hMatlab As Object Set hMatlab = CreateObject("Matlab.Application") hMatlab.Execute ("MATLAB command") End Sub
regards Daniel

Answers (0)

Categories

Find more on Simulation in Help Center and File Exchange

Asked:

on 24 Feb 2012

Community Treasure Hunt

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

Start Hunting!