Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cmd line function for Edit->Find Files...

2 views
Skip to first unread message

Tim

unread,
Jul 29, 2010, 12:08:23 PM7/29/10
to
I'm looking for a way to find all filenames in the matlab path that contain a given string or extenstion. This can be done via the Edit->Find Files... gui, but I'd like to do this with a function call and return the results in an array. Simple example: files = findfiles('*.dat') would return all .dat files in the MATALB path. Anyone know if this can be done? Thanks!
0 new messages