Use 1 indexing

This commit is contained in:
2024-07-31 21:37:35 -04:00
parent 458dbed560
commit a78b8e4d96
2 changed files with 3 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ function varargout = EASYconsole(varargin)
end
fprintf('Scanning inside %s for a project directory\n', d);
sortedMatchedDirs=sortrows(matchedDirs);
project=sortedMatchedDirs{0}; % select the latest dir (by date prefix)
project=sortedMatchedDirs{1}; % select the latest dir (by date prefix)
fprintf('Selected latest project directory %s\n', char(project));
end
end