Skip to content

Commit

Permalink
update search_files
Browse files Browse the repository at this point in the history
  • Loading branch information
jaejoonglee92 committed Jun 6, 2020
1 parent 14b5167 commit 770dfa6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion search_files.m
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,12 @@
end
end

flist = strsplit(flist, '\n');
if ~isempty(flist)
flist = strsplit(flist, '\n');
end

flist = flist(:); % vectorize

if dochar
flist = char(flist);
end
Expand Down

0 comments on commit 770dfa6

Please sign in to comment.