Skip to content

Commit

Permalink
use logstr rather than fprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
jooh committed Aug 25, 2015
1 parent a366379 commit 0f2894c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions featureselection/mask2searchrois.m
Expand Up @@ -32,7 +32,7 @@
r = NaN([1 sl.vol.nfeatures]);

% run
fprintf('mapping %d searchlights...\n',sl.vol.nfeatures);
logstr('mapping %d searchlights...\n',sl.vol.nfeatures);
tic;
parfor n = 1:sl.vol.nfeatures
% get sphere index
Expand All @@ -44,7 +44,7 @@
spheres(n,:) = sp;
r(n) = sl.radius;
end
fprintf('finished in %s.\n',seconds2str(toc));
logstr('finished in %s.\n',seconds2str(toc));
diagnostic.r = r;
% number of voxels in each sphere
sb = spheres;
Expand Down

0 comments on commit 0f2894c

Please sign in to comment.