How to get frames from Workspace to Simulink in real time?

1 次查看(过去 30 天)
I tried use Video From Workspace block,but get one image then after does not cycle.

回答(1 个)

Mayank Dwivedi
Mayank Dwivedi 2015-12-29
Hi,
Assuming that you want to capture multiple frames of your video you can put the "From Video Device" block inside a Triggered Subsystem and then set the trigger to get the snapshots of live video on an interval of your choice. Refer to the link below:
The link below contains description and steps for creating a Triggered subsystem-
If you are trying something else please explain your workflow in detail.
-Mayank

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by