Initial Software Setup - Carleton-SRCL/SPOT GitHub Wiki

The SPOT software can be downloaded and used on any Window 10/11 machine running MATLAB 2023a. The software will only work on MATLAB 2023a. Setup is straightforward. You have two options for downloading the software. For most people, downloading the software from the release page is ideal:

  1. Navigate to the SPOT releases page (https://github.com/Carleton-SRCL/SPOT/releases), and find the latest release. You can click on the hyperlink locating on the release page to navigate to a Dropbox link, where you can download the latest stable release:

image

Once you follow the link, you'll need to click on the Download button as shown:

image

  1. Once downloaded, unzip the folder:

Inside the extracted folder, you'll see another folder called SPOT. This is the main working folder, and you'll want to copy and paste this into whatever directory you want - we recommend the Documents directory. Once pasted, rename the SPOT folder and give it a unique name - we recommend "FirstNameLastName-SPOT".

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 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/).

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

  3. 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".

image

  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 MATLAB, navigate to your personal branch of the SPOT repository.
  • Right click on Custom_Library and select "Add to Path" and "Selected Folders and Subfolders".

image

  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".

image

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

SPOT Custom Lib

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