Doesn't addpath support adding multiple folder paths at the same time?
Mostra commenti meno recenti
For example, I have 2 paths of the same level of brothers, how can I add them to the matlab search path by command addpath?
path1 = "parentFolder1/";
path2 = "parentFolder2/";
addpath([path1,path2])
Is the solution to use addpath 2 times, when there are more sibling folders, it seems inelegant to call addpath multiple times?
addpath(path1);
addpath(path2);
addpath(...)
...
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Search Path in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!