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!