Initial Software Setup - Carleton-SRL/SPOT GitHub Wiki

[!WARNING] The software is only intended to work on MATLAB 2024b. Use in newer versions in particular are unsupported..

The SPOT software can be downloaded and used on any Window 11 machine running MATLAB 2024b. Setup is straightforward. You have two options for downloading the software. For most people, downloading the software from the release page is ideal, but if you are comfortable with Git, that is a completely viable option.

  1. Navigate to the SPOT releases page (https://github.com/Carleton-SRCL/SPOT/releases), and find the latest release:

Scroll down to the Assets section, and click on Source code (.zip). This will download a zip file containing the software.

  1. Once downloaded, unzip the folder:

Inside the extracted folder, you'll see another folder called SPOT-4.1.0-release.1-hf.1. This is the main working folder, and you'll want to copy and paste this into whatever directory you want (if you are using your own computer) - we recommend the Documents directory. Once pasted, rename the folder and give it a unique name - we recommend "SPOT-FirstNameLastName".

If you prefer to create a fork and work from GitHub (which can make version control a breeze), read through and follow the GitHub forking guide (or watch the video guide for creating a fork: https://youtu.be/Vu77edOiv6o). A written guide for creating and updating a fork can be found here:

If you are going through a first time setup on your own personal computer, please follow the steps below. If you are using the lab computer, then MATLAB 2024b should already be installed with the right software and you can skip the rest of this guide.

  1. Ensure MATLAB has been installed, and ensure that all toolboxes are installed (Carleton University provides all toolboxes to students and faculty for free! Follow the instructions at: https://carleton.ca/its/all-services/computers/site-licensed-software/).

[!WARNING] If you don't install at least the Optimization Toolbox and DSP Toolbox, the Simulink diagram will not work. I recommend just installing everything to ensure no problems..

  1. Open MATLAB and navigate to the Home tab; once there, under the Environment sub-header, click on Add-Ons.

  2. Once open, use the Search for add-ons function to locate and install the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms.

  1. If MATLAB and the required add-on have been installed, you can setup the custom Simulink library. This step is only required if you are using a personal computer - do not do it on the lab computer. In fact, with recent releases this step is optional.
  • In MATLAB, navigate to your SPOT folder.
  • Right click on Custom_Library and select Add to Path and Selected Folders and Subfolders.
  1. At this point you have successfully added the SPOT custom Simulink blocks to your library. To confirm it was done correctly, open a new instance of Simulink by typing simulink into the MATLAB Command Window or by using the Simulink button in the Home tab.

  2. For testing, you can open a blank model. Under the Simulation tab, select Library Browser.

  1. Once the browser is open, press F5 to refresh the library. If you scroll down, you should find the SPOT Custom Library:

If you are settings up a fresh platform computer (NVIDIA Jetson), move on to setting up an NVIDIA Jetson. Otherwise, it's time to run your first simulation.

Click here to go HOME