MATLAB Answers

No visualization of Mechanics Explorer when starting Simulink from GUI

12 views (last 30 days)
Timo Schmid
Timo Schmid on 22 Jan 2020
Commented: Timo Schmid on 8 Apr 2020
I guess the title already says it all.
I built a simmechanics multibody model of a robot in Simulink which is visualized when starting the Simulation directly from Simulink.
But when I try starting the simulation from a GUI (Matlab App-Designer) with the command:
%%Start Simulation
simOut = sim('Modell_Roboter_Tisch_InverseKin.slx','ReturnWorkspaceOutputs','on');
assignin('base', 'simOut', simOut) %Writes simulation output to base workspace
there is no visualization of the robot. The Mechanics Explorer windows just stays grey:
I already tried zooming out/in, enabling all components, etc.
Hope you guys can help me with this problem.
Thanks in advance!


Timo Schmid
Timo Schmid on 8 Apr 2020
Unfortunately I didn't find a solution.
From the one day to another it just worked again as before... But I still don't know what the problem was - sorry.

Sign in to comment.