spm12 normalisationをコマンドで実行したいのですが…
显示 更早的评论
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 Exchange 中查找有关 Neuroimaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!