Skip to content

Commit

Permalink
Update get_steadystate_file.m
Browse files Browse the repository at this point in the history
  • Loading branch information
jumaxst authored Dec 4, 2024
1 parent 8dd41ae commit 0db8bd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/mmci-cli/lib/get_steadystate_file.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ function get_steadystate_file(modelname,d_version,workpath)
all = all(3:end);
for i =1:size(all,1)
%if file is folder and has name steadystate
if (all(i).isdir) && (contains(all(i).name,'steadystate')==true)
%if (all(i).isdir) && (contains(all(i).name,'steadystate')==true)
%if (all(i).isdir) && (contains(all(i).name,'steadystate')==true)
if all(i).isdir && ~isempty(strfind(all(i).name, 'steadystate'))
cd 'steadystate'
inside = dir;
inside = inside(3:end);
Expand Down

0 comments on commit 0db8bd7

Please sign in to comment.