mobiledev
Create mobiledev
object to acquire data from mobile device sensors
Description
Add-On Required
To use this function for accessing mobile device sensors remotely from MATLAB® installed on a desktop or laptop computer, you must also install either MATLAB Support Package for Apple iOS Sensors or MATLAB Support Package for Android® Sensors. For more information, see Get and Manage Add-Ons.
m = mobiledev
creates a mobiledev
object m
that reads sensor data from any device running MATLAB
Mobile™ with the same MathWorks® account. The object can read data from any supported sensors: acceleration,
angular velocity, orientation, magnetic field, position, microphone, and camera. Use this
syntax without arguments when you have only one device set up for sensing. You cannot create
more than one object for the same device.
m = mobiledev(
creates a devname
)mobiledev
object to read data from the device identified by devname
. Use this syntax when you have more than one device connected to your MathWorks account. You can create several mobiledev
objects, each one for a different device, up to the supported limit. For a list of possible devices, use mobiledevlist
.
Examples
Input Arguments
Version History
Introduced in R2015a