This code will add every subfolden within a certain base folder to the searchpath.
This code can be used to import files which are saved in different folders without knowing exactly in which folder the files are saved.
Stijn Haenen (2020). Adding all subfolders of a certain (base)folder to the path. (https://www.mathworks.com/matlabcentral/fileexchange/73801-adding-all-subfolders-of-a-certain-base-folder-to-the-path), MATLAB Central File Exchange. Retrieved .