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.



文献鸟 618 活动


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


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

第六十三期fNIRS Journal Club视频 张百强

Youtube: https://youtu.be/vBsdcx08ZV4 优酷:https://v.youku.com/video?vid=XNjQ4NTcxNjM4MA%3D%3D fNIRS信号
Wanling Zhu
13 sec read

第六十三期fNIRS Journal Club通知2025/6/14, 10am 张百强

该文章的声音简介(中文版): 该文章的声音简介(英文版): fNIRS信号容易受到头动伪影、接触不良以及生理噪声等影响,导致测量信号信噪比低和数据浪费。来自北京师范大学牛海晶课题组的张百强同学将分享一
Wanling Zhu
9 sec read

第六十二期fNIRS Journal Club视频 李杨卓博士

Youtube: https://youtu.be/RN0mUjUe99A 优酷:https://v.youku.com/video?vid=XNjQ3MzIyMTA1Ng== 说服是促进信息传播、人
Wanling Zhu
9 sec read

Leave a Reply

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