Course Software#

Python#

Follow the steps below to install Python on your system.

  1. Open the Microsoft store

  2. Search for Python 3.12

  3. Click on “Get” to install the Python 3.12 interpreter

../../_images/ms_store_py_install.png

Fig. 6 A representation of Python Installation page on Windows Store.#

  1. Go to https://www.python.org/downloads/

  2. Download and install the latest release

../../_images/python_installation_mac.png

Fig. 7 A representation of Python Installation page on Mac.#

../../_images/python_installation_mac_1.png

Fig. 8 A representation of Python Installation application on Mac.#

../../_images/python_installation_mac_2.png

Fig. 9 A representation of Python Installation application on Mac.#

VS Code#

../../_images/vs_code_interface.png

Fig. 10 A representation of VS Code Interface.#

Installing VS Code#

Download VS Code from https://code.visualstudio.com/download and choose your OS (Windows, Mac, or Linux).

../../_images/vs_code_installation.png

Fig. 11 A representation of VS Code Installation page.#

Important

Make sure you are installing Visual Studio Code, NOT Visual Studio.

Installing Python Extension#

Python extension in VS Code is useful because it enhances code development with features like syntax highlight, smart code suggestions, integrated debugging, and linting to catch errors early. It also supports virtual environments and Jupyter Notebooks, making it a comprehensive tool for Python programming.

  1. Open VS Code and go to the extensions tab on the left side of the screen.

  2. Search for “Python”

  3. Install the official Python extension.

../../_images/python_extension_installation.png

Fig. 12 A representation of Python Extension Installation steps on VS Code.#

Collaborating in VS Code#

Installing the Live Share Extension#

Live Share extension in VS Code is useful because it enables real-time collaboration by allowing multiple developers to share and edit code simultaneously within the same environment. It supports shared debugging sessions, terminal access, and even audio calls, making it an essential tool for remote teamwork and pair programming.

  1. Open VS Code and go to the extensions tab on the left side of the screen.

  2. Search for “Live Share”

  3. Install the official Live Share extension.

../../_images/live_share_extension.png

Fig. 13 A representation of Live Share Extension on VS Code.#

Starting a Collaborative Session#

  1. Open a file or folder that you would like to collaborate on.

  2. Go to the live share button on left-hand bar.

../../_images/live_share_collab_steps.png

Fig. 14 A representation of Live Share Collaboration Steps on VS Code.#

  1. Click on the “Share” button.

../../_images/live_share_collab_steps2.png

Fig. 15 A representation of Live Share Collaboration Steps on VS Code.#

  1. You will need to sign in using a Microsoft account (e.g. your Purdue career account).

  2. A link will be copied to your clipboard that you can send to your team members to begin collaborating.

  3. If you are the one joining, click on “Join” button and enter the link shared to you.

../../_images/live_share_collab_steps3.png

Fig. 16 A representation of Live Share Collaboration Steps on VS Code.#

../../_images/live_share_collab_steps4.png

Fig. 17 A representation of Live Share Collaboration Steps on VS Code.#

MATLAB#

Follow the steps below to install MATLAB on your system.

Creating MATLAB account#

  1. Open https://www.mathworks.com/academia/tah-portal/purdue-university-31484706.html

  2. Click on “Sign in to get started”

../../_images/matlab_create_account_steps.png

Fig. 18 A representation of creating a MATLAB account#

  1. Create an account using your Purdue email. Make sure your password is different from the one you use to log in to mypurdue

../../_images/matlab_create_account_steps2.png

Fig. 19 A representation of creating a MATLAB account#

  1. Repeat 1 and 2. Then, sign in with your created account

  2. Choose your option:

  • Click on “Open MATLAB Online” to run MATLAB without any installation

  • Click on “Install MATLAB” to run MATLAB on local device

../../_images/matlab_install_steps.png

Fig. 20 A representation of opening MATLAB Online or installing MATLAB#

MATLAB Installation#

  1. If you clicked on “Install MATLAB” in the previous step, you are ready to install.

  2. Click on the down arrow button to download MATLAB for Linux. Make sure that you are downloading R2024a version

../../_images/matlab_install_linux_steps.png

Fig. 21 A representation of MATLAB Installation page on Linux.#

  1. Follow the prompts to install MATLAB using your Purdue credentials. Use all the default settings until you get to the “Options” step where you should check the box to create symbolic links, and uncheck the box to “Improve MATLAB by sending user experience information to MathWorks”.

../../_images/matlab_install_steps2.png

Fig. 22 A representation of MATLAB Installation process on Linux.#

../../_images/matlab_install_steps3.png

Fig. 23 A representation of MATLAB Installation process on Linux.#

../../_images/matlab_install_linux_steps3.png

Fig. 24 A representation of MATLAB Installation process on Linux.#

../../_images/matlab_install_steps4.png

Fig. 25 A representation of MATLAB Installation process on Linux.#

../../_images/matlab_install_linux_steps5.png

Fig. 26 A representation of MATLAB Installation process on Linux.#

  1. If you clicked on “Install MATLAB” in the previous step, you are ready to install.

  2. Click on the down arrow button to download MATLAB for Windows. Make sure that you are downloading R2024a version

../../_images/matlab_install_windows_steps.png

Fig. 27 A representation of MATLAB Installation page on Windows.#

  1. Follow the prompts to install MATLAB using your Purdue credentials. Use all the default settings until you get to the “Options” step where you should check the box to create symbolic links, and uncheck the box to “Improve MATLAB by sending user experience information to MathWorks”.

../../_images/matlab_install_steps2.png

Fig. 28 A representation of MATLAB Installation process on Windows.#

../../_images/matlab_install_steps3.png

Fig. 29 A representation of MATLAB Installation process on Windows.#

../../_images/matlab_install_windows_steps4.png

Fig. 30 A representation of MATLAB Installation process on Windows.#

../../_images/matlab_install_steps4.png

Fig. 31 A representation of MATLAB Installation process on Windows.#

../../_images/matlab_install_steps5.png

Fig. 32 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_windows_steps5.png

Fig. 33 A representation of MATLAB Installation process on Windows.#

  1. If you clicked on “Install MATLAB” in the previous step, you are ready to install.

  2. Click on the down arrow button to download MATLAB for Intel Chip. Make sure that you are downloading R2024a version

../../_images/matlab_install_apple_intel_steps.png

Fig. 34 A representation of MATLAB Installation page on Intel Chip.#

  1. Follow the prompts to install MATLAB using your Purdue credentials. Use all the default settings until you get to the “Options” step where you should check the box to create symbolic links, and uncheck the box to “Improve MATLAB by sending user experience information to MathWorks”.

../../_images/matlab_install_steps2.png

Fig. 35 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_steps3.png

Fig. 36 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_steps4.png

Fig. 37 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_steps5.png

Fig. 38 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_apple_silicon_steps6.png

Fig. 39 A representation of MATLAB Installation process on Mac Silicon.#

  1. If you clicked on “Install MATLAB” in the previous step, you are ready to install.

  2. For Apple Silicon chips, two installations are required: Amazon Corretto 11 and MATLAB

  3. Change the current version to R2024a version. Click on “Install Java Runtime”

../../_images/matlab_install_apple_silicon_steps.png

Fig. 40 A representation of MATLAB Installation page on Mac Silicon.#

../../_images/matlab_install_apple_silicon_steps2.png

Fig. 41 A representation of MATLAB Installation page on Mac Silicon.#

  1. Install Amazon Corretto 11, using default settings

../../_images/matlab_install_apple_silicon_steps3.png

Fig. 42 A representation of Amazon Corretto 11 Installation.#

  1. Go back to https://www.mathworks.com/downloads/

  2. Change the current version to R2024a version. Click on the down arrow button to download MATLAB for Apple Silicon.

../../_images/matlab_install_apple_silicon_steps4.png

Fig. 43 A representation of MATLAB Installation page on Mac Silicon.#

../../_images/matlab_install_apple_silicon_steps5.png

Fig. 44 A representation of finding MATLAB Installation App on Mac Silicon.#

  1. Follow the prompts to install MATLAB using your Purdue credentials. Use all the default settings until you get to the “Options” step where you should check the box to create symbolic links, and uncheck the box to “Improve MATLAB by sending user experience information to MathWorks”.

../../_images/matlab_install_steps2.png

Fig. 45 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_steps3.png

Fig. 46 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_steps4.png

Fig. 47 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_steps5.png

Fig. 48 A representation of MATLAB Installation process on Mac Silicon.#

../../_images/matlab_install_apple_silicon_steps6.png

Fig. 49 A representation of MATLAB Installation process on Mac Silicon.#