How do I fix a mat2file error?
조회 수: 2 (최근 30일)
이전 댓글 표시
When I am trying to run a module within SPM batch in MATLAB, I keep getting this error message
Running 'Create new template'
Failed 'Create new template'
Error using mat2file
Subscripted assignment dimension mismatch (2).
In file "C:\Users\Kibby\Documents\MATLAB\@file_array\subsasgn.m" (v4136), function "subfun" at line 132.
In file "C:\Users\Kibby\Documents\MATLAB\@file_array\subsasgn.m" (v4136), function "subsasgn" at line 70.
In file "C:\Users\Kibby\Documents\MATLAB\@nifti\subsasgn.m" (v4136), function "fun" at line 74.
In file "C:\Users\Kibby\Documents\MATLAB\@nifti\subsasgn.m" (v4136), function "subsasgn" at line 20.
In file "C:\Users\Kibby\Documents\MATLAB\toolbox\TOM8\cg_tom8.m" (v7), function "cg_tom8" at line 363.
In file "C:\Users\Kibby\Documents\MATLAB\toolbox\TOM8\tbx_cfg_tom8.m" (v7), function "@(job)cg_tom8('create',job)" at line 416.
The following modules did not run:
Failed: Create new template
I have gone back through my processing steps investigating each module that was created in order to run the "Create New Template" module, and they seem fine. I have installed a new MATLAB (R2012b) from the old R2010bSP1 hoping that would fix the issue since I saw this as a possible solution before, in MATLAB answers. However, none of my trouble shooting so far as solved the issue. I can not continue any further in my pre-processing until I can solve this problem.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!