No visualization of Mechanics Explorer when starting Simulink from GUI
Afficher commentaires plus anciens
Hello,
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!
2 commentaires
Damian Keretic
le 7 Avr 2020
Did you manage to solved it somehow?
Timo Schmid
le 8 Avr 2020
Réponses (2)
Damian Keretic
le 7 Avr 2020
0 votes
Same problem here. Could someone help?
1 commentaire
Jonathan Salas
le 17 Nov 2020
Did you solved?
Kim Bostroem
le 26 Mar 2021
0 votes
I have the same problem. For me, the workaround is to have the model file (.slx) open in the background. The problem appeared when I updated to Matlab 2020b. I hope this bug is fixed in the next update.
Catégories
En savoir plus sur Simscape Multibody dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!