Starting MATLAB

Windows

Windows Logo

Expand for Windows instructions
  1. In the File Explorer, right-click and select ‘New’ then ‘Folder’, and call this new folder ‘MatlabCourse’.
  2. To start MATLAB click on the ‘MATLAB’ icon, and change the ‘Current Directory’ to the one you just created.
  3. You may wish to create some appropriately named sub-directories to store separately the files from each unit of the course, for example ‘Unit1’.

macOS

Apple Logo

Expand for macOS instructions
  1. In Finder, right-click and select ‘New’ then ‘Folder’, and call this new folder ‘MatlabCourse’.
  2. To start MATLAB click on the ‘MATLAB’ icon, and change the ‘Current Directory’ to the one you just created.
  3. You may wish to create some appropriately named sub-directories to store separately the files from each unit of the course, for example ‘Unit1’.

Linux

Linux Logo

Expand for Linux instructions
  1. Open a terminal and type

    mkdir MatlabCourse
    cd MatlabCourse
    

    to make a directory and switch to it.

  2. From within the directory you just created, type

    matlab &
    

    A MATLAB window should now open. Any files created and saved will now be saved within this directory. Note that the ‘&’ will free the MATLAB window from the terminal; otherwise, if you close the terminal you close MATLAB.

  3. You may wish to create some appropriately named sub-directories to store separately the files from each unit of the course, for example ‘Unit1’. Note that you can use the mkdir command from within the MATLAB command window.

Online

MATLAB Logo

Expand for web browser instructions
  1. Go to https://matlab.mathworks.com/.
  2. Log in with your MathWorks account.
  3. In the ‘Current Folder’ panel, right-click and select ‘New’ then ‘Folder’, and call this new folder ‘MatlabCourse’. Double-click to enter that folder, which will set it as the current working directory.
  4. You may wish to create some appropriately named sub-directories to store separately the files from each unit of the course, for example ‘Unit1’.