How do i add with subfolders to my pathway?

24 visualizzazioni (ultimi 30 giorni)
Hsiu
Hsiu il 19 Giu 2014
Modificato: ES il 19 Giu 2014
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!

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by