Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Problem Matlab/Simulink IOS device data acquisition

4 visualizzazioni (ultimi 30 giorni)
Damon Pierre-Marie
Damon Pierre-Marie il 19 Set 2017
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
Damon Pierre-Marie
Damon Pierre-Marie il 20 Set 2017
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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by