Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problem Matlab/Simulink IOS device data acquisition

조회 수: 4 (최근 30일)
Damon Pierre-Marie
Damon Pierre-Marie 2017년 9월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I am working on a project which requires to record simultaneously the camera, gyroscope and accelerometer data of my Iphone. I would like to use Matlab/Simulink.
Maybe I am wrong but I just saw the option to record video with Simulink?
Finally, I properly set up my IOS with Simulink device and I tried the predefined examples. I get into trouble since I didn't find a way to acquire the data into Matlab/Simulink. For example when I add an accelerometer block into Simulink and I display the data on the IOS device it works perfectly but as soon as I add a scope the program can not run anymore.
I tried to use the UDP send/receiver provided in the examples but I didn't receive any data.
Maybe someone has ever had a similar problem?
Thank you in advance, Pm
  댓글 수: 2
Damon Pierre-Marie
Damon Pierre-Marie 2017년 9월 20일
Hi,
Finally I found a way to make the UDP send/receiver work. But I am in front of another problem. It is not possible to send a matrix via the UDP blocks only [1xN] vectors. It means that for a 640x480 image size I need to connect at least 480 UDP blocks for each color R,G and B.
Another solution?
Thank you,
Pm
Damon Pierre-Marie
Damon Pierre-Marie 2017년 9월 22일
No suggestion?
Thks, Pm

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by