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

7 visualizaciones (últimos 30 días)
Is it possible access and display the Simscape Multibody visualizer window within a matlab app?
Thanks in advance.

Respuesta aceptada

Kavya Vuriti
Kavya Vuriti el 27 de Mzo. de 2020
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 comentarios
Montassar LAJILI
Montassar LAJILI el 21 de Nov. de 2020
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
Fahad Halawani
Fahad Halawani el 9 de Mayo de 2022
Hello,
I am trying to achieve the same thing here. Have you managed to discover a way to do it?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Applications en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by