MATLAB® Mobile™ allows you to create and edit MATLAB files (
and text files (
While you are editing files, MATLAB Mobile saves your changes automatically, at regular intervals. You can also save changes by running a file (MATLAB files only) or by navigating to a different view. An unsaved file in MATLAB Mobile has an asterisk next to the file name; for example, test.m*.
To create or edit files, go to the Files view or use the
MATLAB Mobile provides the following editing functionality for writing and modifying MATLAB files:
Cut, copy, and paste
Undo and Redo
MATLAB Mobile autosaves the file to the cloud or computer while you are editing. If the device is not connected to the cloud or desktop, the file is saved locally. When the device is connected again, the file is autosaved to the cloud or desktop and the local file is deleted.
MATLAB Mobile supports the use of an external keyboard for editing.
iOS Keyboard Shortcuts
|Command + R||Run file|
|Command + S||Save file|
|Command + C||Copy selected text|
|Command + V||Paste selected text|
|Command + Z||Undo|
|Command + Shift + Z||Redo|
|Command + /||Comment selected lines or the line where cursor is|
|Command + t||Uncomment selected lines or the line where cursor is|
|Command + TAB||Add tab to the selected lines or to the line where cursor is|
|Command + Shift + TAB||Remove tab spaces from the selected lines or from the line where cursor is|
These key combinations are supported when a iOS/Mac external hardware keyboard (for example, an Apple Bluetooth® keyboard) is connected to the iOS device. There are possibilities that a Windows® external keyboard may be connected to an iOS device, in which case these shortcuts are not supported.
MATLAB Mobile supports the following functionality for file editing:
You can open and edit MATLAB files (.m) and text (.txt) files only. Only MATLAB files can be run. Files other than MATLAB and text files are grayed out in the file browser and cannot be edited.
MATLAB Mobile does not support editing Live Editor files (.mlx).
You can have only one file open at a time.
Some very large files may take a long time to open, or may not open at all. These large files also can see performance degradation. The file size limit is 300 KB.
MATLAB Mobile autosaves a temporary local copy while you are editing.
MATLAB: If your MATLAB Mobile session is connected to your computer, ensure MATLAB R2014b or later is installed.
iOS: You must have 8.0 or later to use the editor.