Recording video while simultaneously running other functions in background

6 views (last 30 days)
Anthony on 9 Mar 2020
Answered: Sai Bhargav Avula on 23 Mar 2020
I am running a script that tells a robot to move and records data from the robot. I am looking to implement a video record function that does not interupt my existing code where I can automatically strart recording video of the robot experiment just before the experiment and end the recording just as the experiment ends.
Any suggestions that don't interfere with my current code too drastically?

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 23 Mar 2020
You can create a simple VideoWriter object. Open the object when you run the robot and write the frame and close it when the experiment is completed.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!