Clear Filters
Clear Filters

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

1 view (last 30 days)
I tried use Video From Workspace block,but get one image then after does not cycle.

Answers (1)

Mayank Dwivedi
Mayank Dwivedi on 29 Dec 2015
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

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!