MATLAB Answers

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

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

  0 Comments

Sign in to comment.

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!!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!