matlab程序出错,function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)|Error:Function definitions are not permitted in this context.

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/19 21:29:30
matlab程序出错,function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)|Error:Function definitions are not permitted in this context.
xQ=OA+SjrΜ4X,x6w{5B(<5+i@m@?s G_pw1VXؼ{o>ls4#yԵ!+ 1(,p { E]f4r oR}CU,@Q `|`_k-U@YrY5Ą/}W7>|+J)!p@d쒟n ׺M9ߜg+ā&Mz&na:U?}n@^'@{T6w GƊN/×r+LXvT>i^8ErXhc~Kce2bv6g

matlab程序出错,function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)|Error:Function definitions are not permitted in this context.
matlab程序出错,
function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)
|
Error:Function definitions are not permitted in this context.

matlab程序出错,function [taub tau h sig Z S sigma sen n senplot CIlower CIupper D Dall C3 nsigma] = ktaub(datain,alpha,wantplot)|Error:Function definitions are not permitted in this context.
Question:
Function definitions are not permitted in this context
不允许在这种语境中定义函数.
Solution:
在m文件中定义函数,且输出参数用英文逗号隔开
改为[taub,tauh,..,sigma]