Fix narginchk Error using SPM

18 sec read

Today I downloaded SPM 12 latest version, and when I tried to start it complained:

Error using narginchk (line 10)
too many input arguments

This error is caused by the conflict of multiple narginchk functions. To find out where they are, type

>> which -all narginchk
C:\Users\Xu Cui\Dropbox\spm12\external\fieldtrip\compat\matlablt2011b\narginchk.m
built-in (C:\MATLAB\R2015b\toolbox\matlab\lang\narginchk)

Then I simply renamed the first narginchk.m to a different name (e.g. _narginchk.m), and now it works.



写作助手,把中式英语变成专业英文


Want to receive new post notification? 有新文章通知我

第五十九期fNIRS Journal Club视频 赵斐博士

Youtube: https://youtu.be/dIlSEsJvHm8 优酷:https://v.youku.com/v_show/id_XNjQ1MDE3OTY2MA==.html?spm=a2
Wanling Zhu
17 sec read

第五十九期fNIRS Journal Club通知2025/1/11, 10am 赵斐博士

糖尿病患者持续的高血糖水平会导致全身蛋白质的结构和功能变化,以及大脑中蛋白质聚集体的积累,影响认知功能。来自美国Wayne State University的赵斐博士将分享一项使用功能性近红外光谱(f
Wanling Zhu
12 sec read

第五十八期fNIRS Journal Club视频 王硕教授团队

Youtube: https://youtu.be/Qx9zMaIzAwo 优酷:https://v.youku.com/v_show/id_XNjQ0MzM3MDE1Mg==.html?spm=a2
Wanling Zhu
16 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *