MATLAB: How to run a project using matlab in different directory

MATLABUbuntu

How can I run a project using matlab in different directory. MATLAB version is R2020b. OS is Ubuntu. What path values do I need to add and where to add.

Best Answer

The directory where the MATLAB code is needs to be on your MATLAB path. (You do not need to make changes to your system PATH)