MATLAB Answers

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

15 ビュー (過去 30 日間)
Michael McGeehan
Michael McGeehan 2020 年 3 月 4 日
コメント済み: Montassar LAJILI 2020 年 11 月 21 日 17:22
Is it possible access and display the Simscape Multibody visualizer window within a matlab app?
Thanks in advance.

  0 件のコメント

サインインしてコメントする。

採用された回答

Kavya Vuriti
Kavya Vuriti 2020 年 3 月 27 日
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!!

  2 件のコメント

Montassar LAJILI
Montassar LAJILI 2020 年 11 月 21 日 17:22
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

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by