From the menu, tap Commands.
Type edit
filename where
filename is the name of an existing file or a
new file.
To create text files instead of MATLAB® files,
use the file extension, .txt. Typing a file name
without an extension creates a MATLAB (.m)
file.
In the edit screen, type the contents of the file.
To save and run the file, tap
.