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

 채택된 답변

Walter Roberson
Walter Roberson 2020년 10월 14일

0 개 추천

You have psat installed. You need to find the psat settings.m file (in the main PSAT installation directory) and delete it or rename it.
The PSAT settings.m file holds some preferences, and PSAT has code to build those preferences in memory if settings.m is not found.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2020년 10월 14일

답변:

2020년 10월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by