Skip to content

Commit

Permalink
Change to allow specifying single directory to equalize
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeelle committed Apr 6, 2016
1 parent da13889 commit 3758a35
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions jp_equalizerms.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ function jp_equalizerms(inputDir,outputDir,verbose)


% Error checking
if nargin<2; error('Two arguments are required.'); end
if nargin==2; verbose=0; end
if nargin<2
outputDir = inputDir;
end


if nargin<3; verbose=0; end
if nargin==3
if ischar(verbose) && strcmp(lower(verbose),'verbose')
verbose=1;
Expand Down

0 comments on commit 3758a35

Please sign in to comment.