Simulink: Send Android Camera Video To Workspace

조회 수: 2 (최근 30일)
Ian Liu
Ian Liu 2017년 7월 9일
편집: Ian Liu 2017년 7월 16일
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

답변 (1개)

Shashank
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
  댓글 수: 1
Ian Liu
Ian Liu 2017년 7월 16일
편집: Ian Liu 2017년 7월 16일
So theoretically if I deploy the hardware correctly and all that, this block will return the video I take on my phone and allow me to process it?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Android Devices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by