Recording the workspace in Simulink

1 回表示 (過去 30 日間)
James Rhodes
James Rhodes 2020 年 9 月 13 日
回答済み: Shraddha Jain 2021 年 3 月 5 日
Hi, is there any way to record the workspace window within Simulink and return image/video data in real-time similar to imaqtool? The picture below shows the region which I'm interested in recording and feeding back to simulink, and then processing the image using a matlab function.

回答 (1 件)

Shraddha Jain
Shraddha Jain 2021 年 3 月 5 日
Hi James,
There is a way to record the multibody animation video in MATLAB using the smwritevideo function available in the Simscape Multibody toolbox.
This function saves the video in the current MATLAB folder. The video file format is that specified in the Video Creator tool. Kindly refer to the documentation page of smwritevideo for more information.
Hope this helps!


Help Center および File ExchangeSimulation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by