Mercurial > repos > public > sbplib
view findMfiles.m @ 816:b5e5b195da1e feature/timesteppers
Add getState to timesteppers, returning the relevant state of the timestepper
- Add getState which returns the 'state' of the specialized timestepper.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 10 Sep 2018 16:19:16 +0200 |
parents | cd571e8ec1fd |
children |
line wrap: on
line source
% Find all m files reachable from folder d function files = findMfiles(d) contents = what(d); files = {}; for i = 1:length(contents.m) files{end+1} = fullfile(d, contents.m{i}); end for i = 1:length(contents.packages) packagePath = fullfile(d,['+' contents.packages{i}]); files = [files, findMfiles(packagePath)]; end end