Instructions for
Matlab Live Scripts
- Start a new Live Script using HOME -> New Live Script
Open a Live Script file using HOME -> Open.
- Text fields alternate with code fields.
- Hit Alt-Enter (Option-Return on a Mac) to get a text field after a code field, or vice versa.
- Hit the F5 key (Option-Command-R on a Mac) to rerun the whole file after you made modifications.
- Numerical and graphic output is shown on the right by default.
By clicking on the icons on the top right of the window you
can get the output displayed right below the code (recommended).
- You can export everything to a pdf, html or Word
file:
LIVE EDITOR -> Save -> Export to PDF
etc.
- Matlab tries to be helpful and automatically types closing parentheses, shows help
for
each Matlab command, and shows the value of each variable under the mouse pointer
("datatips")
You can turn this off:
◦ under the VIEW tab click to deselect "datatips".
◦ under the HOME tab click on ENVIRONMENT,
then on "Preferences", then
under Keyboard uncheck "Enable function hints" and
for "Live Editor and App Designer"
select "Show on tab".
under Editor/Debugger->Autoformatting uncheck "Enable
autoformatting".