Unrecognized function or variable n_subject

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

4 件のコメント

Suphakson
Suphakson 2023 年 4 月 22 日
移動済み: Stephen23 2023 年 5 月 14 日
Walter Roberson
Walter Roberson 2023 年 4 月 22 日
移動済み: Stephen23 2023 年 5 月 14 日
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 2023 年 4 月 22 日
移動済み: Stephen23 2023 年 5 月 14 日
% $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 2023 年 4 月 22 日
移動済み: Stephen23 2023 年 5 月 14 日
it appears to be a script that expects n_subjects to already have been assigned a value.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2023 年 4 月 22 日

移動済み:

2023 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by