Simulink: Send Android Camera Video To Workspace
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to write a function that can be run on my Android phone that will prompt for a video using the phone's camera and send it to the workspace to for analyzing. Is this possible? I just got the Simulink Support package, but am having a hard time understand how to get the Android blocks to work with the other blocks. Is it possible to have a function prompt my phone for a video?
Also, is there a way to save a video from an android phone to a file? Attaching the Camera block to the To Multimedia File block (attached image) just returns a black video.
Thanks
0 个评论
回答(1 个)
Shashank
2017-7-12
Hi Ian,
Note: During simulations without hardware, this block outputs zeros. See Block Produces Zeros or Does Nothing in Simulation (Simulink).
This might be the issue that you are facing. Please check if you have configured your hardware properly and if the App is deployed properly.
- Shashank
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Android Devices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!