The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Can MatLab automatically search subfolders of a path directory
Replies: 2   Last Post: Aug 6, 2013 5:59 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View

Posts: 4
Registered: 7/31/13
Re: Can MatLab automatically search subfolders of a path directory
Posted: Aug 6, 2013 5:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Randy Poe <> wrote in message <>...
> That's the manual approach. genpath('root folder') will
> do it automatically, returning everything under 'root folder'.
> To add these to your search path, do this:
> path(genpath('whatever'),path),
> e.g., path(genpath('c:\matlabr11\work'), path);
> - Randy

Thank You so much, Randy. This is what I was looking for! I organize my work into several folders and this helps me to access any of my function any time. Thank you once again.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.