Unrecognized function or variable n_subject

Why do I get this message and how to fix it? Thank you for your kind answers!

4 comentarios

Suphakson
Suphakson el 22 de Abr. de 2023
Movida: Stephen23 el 14 de Mayo de 2023
Walter Roberson
Walter Roberson el 22 de Abr. de 2023
Movida: Stephen23 el 14 de Mayo de 2023
We would need the lines before that in cat_run.m
We might also need to see the line of code that is invoking cat_run
Suphakson
Suphakson el 22 de Abr. de 2023
Movida: Stephen23 el 14 de Mayo de 2023
% $Id: cat_run.m 1984 2022-04-19 07:59:02Z gaser $
%#ok<*AGROW,*STRIFCND,*STRCL1,*ASGLU,*STREMP>
%rev = '$Rev: 1984 $';
% -----------------------------------------------------------------
% Lazy processing (expert feature)
% -----------------------------------------------------------------
% If N>10000 files were processed the crash of one of J jobs by
% small errors makes it hard to find the unprocess files.
% The lazy processing will only process files, if one of the output
% is missed and if the same preprocessing options were used before.
% -----------------------------------------------------------------
% disable parallel processing for only one subject
if n_subjects == 1, JOB.nproc = 0; end %#ok<STRNU,NODEF>
%{ send Matlab version to server
if cat_get_defaults('extopts.send_info')
urlinfo = sprintf('%s%s%s%s%s%s%d',cat_version,'%2F',computer,'%2F','processed',...
'%2F',n_subjects);
cat_io_send_to_server(urlinfo);
end
Walter Roberson
Walter Roberson el 22 de Abr. de 2023
Movida: Stephen23 el 14 de Mayo de 2023
it appears to be a script that expects n_subjects to already have been assigned a value.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Abr. de 2023

Movida:

el 14 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by