CS112: Lab1 :: Introduction to MATLAB ::: executing M files
Let's say you are working with an M-file called lab1.m.
Important: Your current directory
must be set to be the folder that contains lab1.m
To execute (run) this file, type "lab1" in the Command Window,
leaving off the ".m":
Back to Lab1 page