Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Problem Matlab/Simulink IOS device data acquisition

4 vues (au cours des 30 derniers jours)
Damon Pierre-Marie
Damon Pierre-Marie le 19 Sep 2017
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaires
Damon Pierre-Marie
Damon Pierre-Marie le 20 Sep 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
Damon Pierre-Marie
Damon Pierre-Marie le 22 Sep 2017
No suggestion?
Thks, Pm

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by