Is it possible to access the simscape visualizer window in a MATLAB app?

Is it possible access and display the Simscape Multibody visualizer window within a matlab app?
Thanks in advance.

 Réponse acceptée

Hi,
It is possible to open model visualization results in Mechanics Explorer window while designing an app. You can put this part of code in the callback function of the desired component. Before displaying visualization results, it is to be made sure that model visualization is turned on. This can be achieved by including the command line to open model configuration parameters in the callback function.
For more information on enabling model visualization, refer this. Refer here to open model configuration parameters using command line. For additional information on writing callbacks, refer: https://www.mathworks.com/help/matlab/creating_guis/write-callbacks-for-gui-in-app-designer.html
Hope this helps!!

3 commentaires

Hello,
I didn't understand how we can dedicate a visualization area for simscape multibody simulation in Matlab app designer ! coud you explain me how ? Thx
else, can I use a matlab command in matlab app to launch a visualization window of my simscape multibody simulation. Thx
Cordially
Hello,
I am trying to achieve the same thing here. Have you managed to discover a way to do it?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simscape Multibody dans Centre d'aide et File Exchange

Produits

Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by