错误使用 nargin
您只能从 MATLAB 函数中调用 nargin/nargout。
出错 checkInputs_tvtp (line 6)
if nargin<5
出错 MS_Regress_Fit_tvtp (line 33)
checkInputs_tvtp(); % checking if inputs variables are OK
出错 MS_VAR_Fit_tvtp (line 68)
[Spec_Output]=MS_Regress_Fit_tvtp(dep,indep,px,k,S,advOpt); % Estimating the model
m文件添加到脚本运行时输出结果为以上,大家有出现这种错误吗?如何解决