Commit 98cb5cf7 authored by matecellab's avatar matecellab Committed by Mark van Turnhout
Browse files

fixed fullfile bug (Courtesy of Willeke Traa).

parent 7ac71def
......@@ -43,7 +43,7 @@ savenames = {''; '_preload'; '_loading'; '_postload'; '_flash'};
for d = 1:numel(basil)
[scans, paths] = bas_getMeta(basil(d));
for b = 1:size(scans,1)
if ~exist(basilhome,num2str(scans(b,1)),'dir'), mkdir(basilhome,num2str(scans(b,1))); end
if ~exist(fullfile(basilhome,num2str(scans(b,1))),'dir'), mkdir(fullfile(basilhome,num2str(scans(b,1)))); end
for s = 2:size(scans,2)
if (~exist( fullfile(basilhome,num2str(scans(b,1)),savenames{s},'.mat'),'file') ...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment