Main Content

Enter Commands

Entering Commands

To enter commands for MATLAB®, go to the menu and then tap Commands. Tap at the MATLAB cursor (>>) prompt to open the keyboard. Type MATLAB commands as you normally would.

For example, the Command Window and keyboard might appear like this.

  • On an iPad or iPhone:

    MATLAB Mobile command window on iOS

  • On an Android device:

    MATLAB Mobile command window on Android

MATLAB Mobile™ sends all commands to MATLAB running in the MathWorks® Cloud for evaluation. Your device does not perform any calculation or store any workspace variables locally.

Adjust Font Size

You can adjust the font size for the Command Window and Editor with either of the following techniques.

  • Use two fingers in the standard pinch-to-zoom gesture.

  • Configure in Settings:

    1. Tap the menu bar and then tap SettingsSettings gear icon.

    2. Then, move the Font Size slider.

Keyboards on Your Device

iOS Devices

The keyboard in the MATLAB Mobile application includes an extra row of commonly used special characters.

The up and down arrows scroll through your recent commands. The right and left arrows move the cursor within the command.

  • On an iPhone, the following special characters are included (swipe left to scroll through the display):

    Special characters on keyboard for iPhone

  • On an iPad, the following special characters are included:

    Special characters on keyboard for iPad

Android Devices

The MATLAB Mobile Command Window on Android devices offers you the option of using the device manufacturer's keyboard, or a MATLAB keyboard. With the MATLAB keyboard enabled and selected, the Command Window appears like this:

MATLAB keyboard on Android

The MATLAB keyboard on an Android device includes the following special characters:

Android MATLAB keyboard special characters

Enable and Select the MATLAB Keyboard.  Use the following steps to access the MATLAB keyboard.

  1. Tap menu and then tap Settings.

  2. In Keyboard Settings, tap MATLAB Keyboard.

  3. Tap Enable MATLAB Keyboard to enable. Then, under Manage Keyboards, turn on MATLAB Keyboard using the toggle switch. Tap OK when prompted. Enabling is a one-time procedure that does not need repeating.

  4. Return to the previous screen. Tap Select MATLAB Keyboard and then, under Select keyboard, tap MATLAB Keyboard.

Note

This action turns on the MATLAB keyboard for all operations on your device, including MATLAB Mobile.

Select Other Keyboard.  To use some other keyboard, such as the device standard keyboard, instead of the MATLAB keyboard:

  1. Tap the menu and then tap Settings.

  2. In Keyboard Settings, tap MATLAB Keyboard.

  3. Tap Select MATLAB Keyboard to deselect it. Then, in the Select keyboard dialog, tap an alternative keyboard, such as the one provided by your manufacturer.

    This action turns off the MATLAB keyboard for all operations on your device, including MATLAB Mobile.

    A keyboard selection icon might also be available in other locations on your device.

Limitations

MATLAB Mobile does not support:

  • MATLAB apps such as Curve Fitting or Signal Analysis

  • Creating graphical interfaces using App Designer or GUIDE

  • Simulink® graphical environment, but the sim command is supported at the MATLAB Mobile command line

  • Interaction with 3-D figures

Related Topics