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
xQ=OA+SjrΜ4X,x6w{5B(<5+i@m@?sG_pw1VXؼ{o>ls4#yԵ!+1(,p {
E]f4r oR}CU,@Q
`|`_k-U@YrY5Ą/}W7>|+J )!p @d쒟nM9ߜg+ā&Mz&na:U?}n@^'@{T6wGƊ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]