Recording video while simultaneously running other functions in background
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Sai Bhargav Avula
2020-3-23
Hi,
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robotics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!