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.



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


AI writing papers with real references


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

第七十三期fNIRS Journal Club视频 梁正博士 赵庆柏课题组

Youtube: https://youtu.be/5r8OR9rmDxo 优酷:https://v.youku.com/v_show/id_XNjU0ODIxNDEwNA==.html 创造性思维是
Wanling Zhu
20 sec read

第七十三期fNIRS Journal Club通知2026/7/11, 10am 赵庆柏教授

创造性思维是人类高级认知的重要体现,也是教育、创新与团队协作等领域关注的核心问题。近年来,功能性近红外光谱(fNIRS)凭借其良好的生态效度和多人同步测量优势,为创造性思维及其社会互动神经机制的研究提
Wanling Zhu
13 sec read

第七十二期fNIRS Journal Club视频 曹家铭博士

Youtube: https://youtu.be/9mY_m7C8Z8s 优酷:https://v.youku.com/v_show/id_XNjU0MTE5NjMwNA==.html 随着近年来深
Wanling Zhu
16 sec read

Leave a Reply

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