MATLAB® Mobile™ allows you to create and edit MATLAB files (.m
)
and text files (.txt
).
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 edit command.
MATLAB Mobile provides the following editing functionality for writing and modifying MATLAB files:
Cut, copy, and paste
Undo and Redo
Syntax highlighting
Auto indentation
Parentheses matching
MATLAB Mobile autosaves the file to the Cloud while you are editing. If the device is not connected to the Cloud, the file is saved locally. When the device is connected again, the file is autosaved to the Cloud and the local file is deleted.
MATLAB Mobile supports the use of an external keyboard for editing.
Android Keyboard Shortcuts
Command | Action |
---|---|
Ctrl + R | Run file |
F5 | Run file |
Ctrl + S | Save file |
Ctrl + C | Copy selected text |
Ctrl + V | Paste selected text |
Ctrl + X | Cut selected text |
Ctrl + Z | Undo |
Ctrl + Shift + Z | Redo |
Ctrl + Y | Redo |
These key combinations are supported when a an external hardware keyboard (for example, a Windows® Bluetooth® keyboard) is connected to the Android™ device.
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. MATLAB Mobile does not support editing Live Editor files (.mlx) on Android devices.
Images (.jpg and .png) can be viewed but not edited.
Other files are grayed out in the file browser and cannot be viewed nor edited.
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.
MATLAB Mobile autosaves a temporary local copy while you are editing.
The file size limit for .m and .txt files is 300KB.
Android OS: You must have 6.0 or later to use the editor.