Problem Matlab/Simulink IOS device data acquisition

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

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
No suggestion?
Thks, Pm

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 19 Sep. 2017

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by