Procedure for saving a file in MATLAB and submitting solutions

    All the lab assignments call for program files (called M-files) to be edited and saved. Before saving any files, be sure to double click the Connect to Q-Drive icon on the Windows desktop, then hit return to close the paused script.

To create an M-file while in MATLAB do the following:

  1. Drop the File menu, click on New, then select M-File.
  2. A blank edit window appears. Edit this in obvious fashion.
  3. In the edit window drop the File menu and click on Save-as. A File Selector box opens.
  4. Select the directory with a name like username on College of Engineering Samba Server, where username is your username.
  5. Click Save.
To open and edit an existing M-file do the following:
  1. Drop the File menu, click on Open. A File Selector box opens.
  2. Select the directory with a name like username on College of Engineering Samba Server, where username is your username.
  3. Select the file you wish to open and click Open (or double click on the file).
To submit saved M-files do the following:
  1. Log in to blackboard and enter your section of 20-ENFD-112.
  2. Click on assignments.
  3. Click to view the lab you are submitting files for.
  4. Attach the files.
  5. Submit.