I wrote some codes for my project in Matlab. These codes consists of some functions and a main run file which are all scripted separately and kept in a folder. When I want to run the project I must set the Matlab path to this folder and then run the main file.
Now, I want to use another toolbox in my project which is developed by a third party. As I said, I want to use this toolbox
in my own project, but I can only set the Matlab path to one of these directories. I was thinking if there is a way to add this toolbox to main path of Matlab so that it can be run like other predefined functions of Matlab like fmincon
.