![]() ![]() I don't know whether Matlab automatically searches for new folders here, but it may be worth a shot. Hope this helps.Īlternatively, you may be able to add your file(s) directly into Matlab's built in toolbox. I have tried these examples on Windows, but I presume they work the same on a Mac. For example, if I am running a function within C:\users\user_name\My_Documents\Matlab\Project1, the command addpath('.\Tools')Īccesses the same tools folder as before. Will enable you to access all of the files within C:\users\user_name\My_Documents\Matlab\Tools. For example if I am running a function within C:\users\user_name\My_Documents\Matlab, calling addpath('Tools') Relative directories are taken relative to the file which calls addpath. Will enable you to access functions
0 Comments
Leave a Reply. |