Mercurial > repos > public > sbplib
view findMfiles.m @ 1346:464e6f65c2c6 feature/poroelastic
Refactor computation of borrowing from C. Update to correct number of boundary points for borrowing from R.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Tue, 30 Apr 2024 14:18:47 +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