How do i add with subfolders to my pathway?

Hello! I want to add a folder of functions, which has other folders inside into a pathway of mine. I tried to copy and paste that big folder in, but that does not work. I was suggested to "add with subfolders". Can someone explain how that actually works? Thanks!

 Accepted Answer

ES
ES on 19 Jun 2014
Edited: ES on 19 Jun 2014
addpath(genpath(FolderName));
will add all subfolders under FolderName to MATLAB's Path.
or
manually as shown in the attachm
ent

More Answers (0)

Categories

Asked:

on 19 Jun 2014

Edited:

ES
on 19 Jun 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!