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

1 view (last 30 days)
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)

Sruthi Yenugula
Sruthi Yenugula on 21 May 2018
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

Community Treasure Hunt

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

Start Hunting!