TFCEのestimateのエラー

6 visualizaciones (últimos 30 días)
Tomomi Nagase
Tomomi Nagase el 18 de Dic. de 2017
Editada: mizuki el 19 de Dic. de 2017
お忙しいところ恐縮ですが、TFCEのestimateで以下のエラーが生じてしまっています。 解決方法を教えて下さい。
Running job #2
------------------------------------------------------------------------
Running 'Estimate TFCE'
SPM8: spm_spm (v4515) 02:15:42 - 18/12/2017
========================================================================
Initialising parameters : ...done
Output images : ...initialised
Plane 120/121, block 1/1 : ...saving planeFailed 'Estimate TFCE'
エラー ==> mat2file
Problem writing data (1).
In file "C:\spm8\@file_array\subsasgn.m" (v4136), function "subfun" at line 132.
In file "C:\spm8\@file_array\subsasgn.m" (v4136), function "subsasgn" at line 70.
In file "C:\spm8\spm_write_plane.m" (v1143), function "spm_write_plane" at line 33.
In file "C:\spm8\spm_spm.m" (v4515), function "spm_spm" at line 783.
In file "C:\spm8\toolbox\TFCE\cg_tfce_estimate.m" (???), function "cg_tfce_estimate" at line 43.
The following modules did not run:
Failed: Estimate TFCE
Running job #1
------------------------------------------------------------------------
Running 'Estimate TFCE'
SPM8: spm_spm (v4515) 14:12:59 - 18/12/2017
========================================================================
警告: Overwriting old results
(pwd = E:\directory-T1-smooth-DRD2-tiv(+)-last-0-1000)
> In spm_spm at 335
In cg_tfce_estimate at 43
In matlabbatch\private\cfg_run_cm at 26
In cfg_util>local_runcj at 1510
In cfg_util at 830
In cfg_ui>MenuFileRun_Callback at 1186
In gui_mainfcn at 96
In cfg_ui at 53
Initialising parameters : ...done
Plane 121/121, block 1/1 : ...done
Temporal non-sphericity (over voxels) : ...ReML estimation
Failed 'Estimate TFCE'
存在しないフィールド 'Vi' を参照しています。
In file "C:\spm8\spm_spm.m" (v4515), function "spm_spm" at line 875.
In file "C:\spm8\toolbox\TFCE\cg_tfce_estimate.m" (???), function "cg_tfce_estimate" at line 43.
The following modules did not run:
Failed: Estimate TFCE

Respuestas (1)

mizuki
mizuki el 19 de Dic. de 2017
Editada: mizuki el 19 de Dic. de 2017
SPM は MATLAB を作成している MathWorks 社ではなく UCL が作成しています。 通常の MATLAB ユーザは SPM を持ち合わせていないため、ここでは回答を得にくいと思います。もし正式な回答が必要であれば UCL に確認してください。
データも SPM もない状況で問題再現ができないので、分かる範囲で回答します。
エラーメッセージが出たときの問題解決ステップは
  • どこで問題が起こっているか
  • 何が原因か
  • どういう対策を打てば問題が解決するか
などがありますが、どこまで実行されていますでしょうか。
このエラーメッセージを見る限り、
The following modules did not run:
Failed: Estimate TFCE
より、Estimate TFCE が実行できていないことがわかります。その中で
存在しないフィールド 'Vi' を参照しています。
という点が原因のようですね。「Vi というフィールドが定義できるかどうか」などから始めてはいかがでしょうか。
SPM は関数化されていると思いますので、デバッグも利用してみて途中結果を見るのもヒントになると思います。
  • 参考: MATLAB プログラムのデバッグ

Categorías

Más información sobre 検索パス en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!