From: Tim on
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!