spm12 normalisationをコマンドで実行したいのですが…
Show older comments
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も存在します。
Answers (0)
Categories
Find more on Neuroimaging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!