How can I save 1~2 seconds android device‘s gyroscope data by Simulink?

I want to collect 1-2 seconds android device's sensor data by 'Simulink Support Package for Android Devices', each time, how can build such model? By 'Buffer', ‘For Iterator Subsystem’ or others?

Answers (1)

You can run your Model in External Mode and using To workspace Block, you can save the data. Check the below link for more information
https://www.mathworks.com/help/supportpkg/android/ug/tune-parameters-and-monitor-data-in-a-model-running-on-target-hardware.html

Asked:

on 5 Jan 2018

Answered:

on 21 May 2018

Community Treasure Hunt

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

Start Hunting!