spm12 norm​alisationを​コマンドで実行したい​のですが…

spm12のbatch Editer で Normalise Estimate& Write を選択し、
scanデータも選択した上で
save batch& scriptで保存したコードをmatlabのコマンドウィンドウで実行しようとすると、
以下のようなメッセージが出ました。
警告: Load failed: 'C:\0spm Caltech\new61_job.m'
> In spm_jobman>load_jobs (line 331)
In spm_jobman (line 143)
警告: No batch job found in 'C:\0spm Caltech\new61_job.m'
> In spm_jobman>load_jobs (line 343)
In spm_jobman (line 143)
エラー: spm_jobman (line 246)
No valid job.
最終的には、コードを書き換えて処理を自動化したいのですが、
エラーに対処出来ません。
よろしくお願いします。
実行したコマンドは以下の通りです。
% List of open inputs
nrun = 1; % enter the number of runs here
jobfile = {'C:\0spm Caltech\new61_job.m'};
jobs = repmat(jobfile, 1, nrun);
inputs = cell(0, nrun);
for crun = 1:nrun
end
spm('defaults', 'FMRI');
spm_jobman('run', jobs, inputs{:});
ほかにjob.mのfileも存在します。

回答 (0 件)

カテゴリ

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

タグ

質問済み:

2019 年 12 月 11 日

Community Treasure Hunt

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

Start Hunting!