Error using setup: too many input arguments
Show older comments
I keep receiving the following error message:
"Error using setup
Too many input arguments.
Error in nirsHR (line 65)
setup group structures"
Below is the code:
%% Set up for NIRS study
% run on all .nirs files in a directory, use the first file as a template
% to set up group structures
files=dir('*.nirs');
nSubjs=length(files);
subj=files(1).name;
load(subj , '-mat')
nChans=sum(SD.MeasList(:, 4)==1);
chans=1:nChans;
CondNames=('channel_1''channel_2''channel_3''channel_5''channel_6''channel_7''channel_9''channel_10''channel_11''channel_12');
groupCondNames=CondNames;
setup group structures
for i = 1:length(CondNames)
condTrials{i}=cell(1, nSubjs);
end
Accepted Answer
More Answers (0)
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!