idgrey error "too many arguments"
이전 댓글 표시
When executing the idgrey command that includes "optional arguments" MATLAB appears to insert a zero at the beginning of the list of optional arguments and it then throws the error that there are too many arguments in the call to my ode function named in the idgrey command. What's going on???
I have read and re-read the documentation on idgrey, but to no avail.
Thanks
댓글 수: 9
Geoff Hayes
2016년 8월 7일
Dave - please copy and paste the line or lines of code that is generating the error message, and copy and paste the full error message. We need to see how you are using idgrey in your code.
Walter Roberson
2016년 8월 7일
Please also show the output of
which -all idgrey
as it sounds as if you might have your own idgrey.m on your path.
Dave
2016년 8월 7일
편집: Walter Roberson
2016년 8월 7일
Walter Roberson
2016년 8월 7일
You provided the function greymodHati_DKS but the code for that function expects fewer parameters than idgrey needs to pass for your combination of parameters. Please show the "function" line for greymodHati_DKS
Dave
2016년 8월 7일
편집: Walter Roberson
2016년 8월 8일
Dave
2016년 8월 7일
Walter Roberson
2016년 8월 8일
Which one of the variables named is the time input to the ode?
Dave
2016년 8월 8일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Grey-Box Model Estimation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!