Overview

Below are general instructions to install the ROS Toolbox in Matlab.

Install python

Before we can use ROS in MATLAB, we will need to install python 3.10 in your computer in a local directory.

Go to the following website to download python3.10:

win: https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe

mac: https://www.python.org/ftp/python/3.10.11/python-3.10.11-macos11.pkg

Note Install python to a local directory that you can identify. You will need the path to the installed python3.10 in Matlab.

This could be a path in your Documents folder for example.

Setting Python in the MATLAB-ROS Toolbox

Opening Preferences from the Home tab.

image.png

image.png

When you open the ROS Toolbox Preferences, go to the python installation folder.