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

7 views (last 30 days)
Is it possible access and display the Simscape Multibody visualizer window within a matlab app?
Thanks in advance.

Accepted Answer

Kavya Vuriti
Kavya Vuriti on 27 Mar 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 Comments
Montassar LAJILI
Montassar LAJILI on 21 Nov 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 on 9 May 2022
Hello,
I am trying to achieve the same thing here. Have you managed to discover a way to do it?

Sign in to comment.

More Answers (0)

Categories

Find more on Applications in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!