5 Creating a script
In MATLAB create a new script by clicking on the New Script button found in the upper-left corner of the MATLAB desktop, or by using the keyboard shortcut Ctrl + N. The MATLAB editor should open with a blank script.
Save the script by clicking on the Save button in the editor, or by using the keyboard shortcut Ctrl + S. Save the script using the filename q1.m
.
Recall that names in MATLAB are case-sensistive: The script saved as q1.m
is different than the script saved as Q1.m
.