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.

 Risposta accettata

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 Commenti

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?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simscape Multibody in Centro assistenza e File Exchange

Prodotti

Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by