Do you want to use your iPhone or iPad to collect data from built in sensors such as acceleration, angular velocity, orientation, magnetic field, and GPS? In this blog I will explain how to use MATLAB to collect data and log it.
First you will need access to MATLAB. Next, download the Mobile MATLAB app via Apple Store. From your lab top you will need to download the add-on 'MATLAB Support Package for Apple iOS Sensors'.
Once all downloads have been made, open the mobile app and press the icon at the bottom right labeled 'More'. There you will see the Sensors option. Press it. This opens the menu for five (5) different built-in sensors. To begin, turn on one or more sensors. After the selection has been made, you can stream to MATLAB or log the data.
Next, press the start button to collect data from your iOS device. *Before getting started you can change the frequency. If you chose to log the data, access the new file by pressing the icon to the right of the start button. See screenshots below.
Below is the link to the shared folder for reference. Use it as you please and please follow this blog.
Shared Folder - My iOS MobileSensorData
Look for more tech blogs like this. Simulink on Apple iOS Devices. Feel free to email me for questions.
Guest blogger wanted!