MATLAB Mobile


Key Features

Features

  • Command-line access to MATLAB
  • Access to MATLAB workspace
  • Ability to view MATLAB figures on an iOS or Android device
  • Record of commands typed on the mobile device in your command history
  • Custom keyboards to enter typical MATLAB syntax
  • Autocomplete text typed in the command window
  • MathWorks Cloud connectivity and storage
  • Windows®, Mac, and Linux® connectivity

Limitations

MATLAB Mobile does not support:

  • MATLAB apps such as Curve Fitting or Signal Analysis
  • Creating graphical interfaces using GUIDE
  • MATLAB Editor
  • Simulink graphical environment, but the sim command is supported at the MATLAB Mobile command line
  • Interaction with 3-D figures

Connecting to the Cloud

Connecting to MathWorks Cloud provides access to a MATLAB session wherever you have Internet access from your mobile device. You can perform simple calculations and prototyping, and run your MATLAB files. The figures you create and the variables in your workspace persist across sessions, so you can resume work when you next log in.

You are provided 500 MB of cloud storage on MATLAB Drive for your MATLAB files and data. Once stored, your files are available anywhere and from any device you use to access MATLAB Mobile. MATLAB Drive synchronizes your files between your computers and MATLAB Mobile, eliminating the need to manually upload or download content. You can go to the MATLAB Drive folder on your computer to access existing files, or drag in new files to add them to your MATLAB Drive.


MATLAB Drive Cloud Storage

Log in to your MathWorks Account or create an account now.

Getting Started

To connect to MathWorks Cloud from MATLAB Mobile, follow these steps.

  1. Verify that you have a MathWorks Account.
  2. Verify that you have a valid license associated with your account.
    • Go to License Center and check that your account is associated with a license.
    • If you do not have an associated license, click the Add License button and follow the directions.

      Note: To access the cloud, the license must be current on MathWorks Software Maintenance Service. You can verify the end date on the License Details tab of License Center. If maintenance has expired, contact sales.
  3. On your mobile device, start MATLAB Mobile and tap Connect to MathWorks Cloud.
    • Enter your MathWorks Account email address and password.
    • Create a User ID following on-screen instructions.
  4. Once you create your User ID, you can access MATLAB Drive cloud storage.
    • To manage your files, go to the cloud storage page from your desktop.

      Note: Uploads from mobile devices are not supported.

    • To synchronize files between your computers and MATLAB Mobile, download and install MATLAB Drive on your computer.

Connecting to Your Computer

If you have MATLAB installed on your work or home computer, MATLAB Mobile provides remote access to your scripts, files, data, and add-on products. The figures you created on your desktop will also be available on your iOS or Android device.

Connecting to a MATLAB session on your computer requires that you have the MATLAB Connector™ running on that session. Additionally, your mobile device requires network access to the computer you are connecting it to. Connectivity is platform agnostic, so you can connect to a MATLAB session running on your Windows®, Mac, or Linux® machine.


MATLAB Drive Cloud Storage

Log in to your MathWorks Account or create an account now.

Getting Started

To connect to your computer from MATLAB Mobile, follow these steps.

  1. Start the MATLAB Connector on your computer.
    • In MATLAB, run >> connector on.
    • When prompted, enter a password that contains at least five characters (letters or numbers only). MATLAB stores your connector password for future sessions.
  2. Set up the connection on your mobile device.
    • Tap Settings.
    • Type either the DNS name or IP address of your computer.
    • Type the password that you specified for the connector.
    • Tap Connect.

These directions are also in the app’s Getting Started guide.


Acquiring Data from Sensors

In conjunction with the MATLAB Support Package for Android Sensors and the MATLAB Support Package for Apple iOS Sensors, MATLAB Mobile can acquire data from built-in sensors on your iPhone, iPad, or Android device. These include motion sensors like the accelerometer and position sensors like the GPS. Measurements such as acceleration, magnetic field, latitude, longitude, and altitude can be viewed on your smartphone and tablet.

Data acquired from these sensors can be sent to a MATLAB session running on the cloud or on your computer for further analysis and visualization.

You can acquire the following sensor data from MATLAB Mobile:

  • Acceleration on 3-axes
  • Angular Velocity on 3-axes
  • Magnetic Field on 3-axes
  • Orientation (Azimuth, Pitch, and Roll)
  • Position (Latitude, Longitude, Altitude, Horizontal Accuracy, Speed, and Course)

Learn more about Apple iOS sensor support and Android sensor support from MATLAB.


Getting Started

The sensor data you acquire can be sent to a MATLAB session running on either the cloud or on your computer.

Send Sensor Data to MathWorks Cloud

  1. Connect to the cloud from MATLAB Mobile.

    • Use your MathWorks Account credentials to log in to MathWorks Cloud.
    • For instructions, refer to the getting started guide.
  2. In MATLAB Mobile, create a mobiledev object, turn on sensors and send data.

    • Create a mobiledev object to receive sensor data.
      >> obj = mobiledev
    • Select the “Sensors” screen.
    • Tap the icon of the sensor you want to turn on.
    • Tap “Start Sending” to send data to MATLAB.

Send Sensor Data to your Computer

  1. Install support package on your computer.

    • To get started immediately from your computer, download the MATLAB Support Package for Apple iOS Sensors or MATLAB Support Package for Android Sensors and open the installer file.
    • Alternatively, from MATLAB, choose Add-Ons from the Toolstrip, and then choose Get Hardware Support Packages. This will open the Support Package Installer.
    • Choose Apple iOS Sensors (for your iPhone or iPad) or Android Sensors (for your Android devices) from the list and follow the instructions.
  1. Connect to your computer from MATLAB Mobile.

    • Use the MATLAB Connector to connect MATLAB Mobile to the MATLAB session on your computer.
    • For instructions, refer to the getting started guide.
  1. Create a mobiledev object in MATLAB.

    • Create a mobiledev object to receive sensor data from MATLAB Mobile.
      >> obj = mobiledev
  1. In MATLAB Mobile, turn on sensors and send data.

    • Select the “Sensors” screen.
    • Tap the icon of the sensor you want to turn on.
    • Tap “Start Sending” to send data to MATLAB.