Prev: Creating daily figures to match monthly average using cubic spline
Next: xPC Target: xpctest diagnostic failing at Test 4
From: Tim on 29 Jul 2010 12:08 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! |