Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Problem Matlab/Simulink IOS device data acquisition

4 Ansichten (letzte 30 Tage)
Damon Pierre-Marie
Damon Pierre-Marie am 19 Sep. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentare
Damon Pierre-Marie
Damon Pierre-Marie am 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 am 22 Sep. 2017
No suggestion?
Thks, Pm

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by