Error using setup: too many input arguments
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Search Path in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!