idgrey error "too many arguments"
Show older comments
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 Comments
Geoff Hayes
on 7 Aug 2016
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
on 7 Aug 2016
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
on 7 Aug 2016
Edited: Walter Roberson
on 7 Aug 2016
Walter Roberson
on 7 Aug 2016
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
on 7 Aug 2016
Edited: Walter Roberson
on 8 Aug 2016
Dave
on 7 Aug 2016
Walter Roberson
on 8 Aug 2016
Which one of the variables named is the time input to the ode?
Dave
on 8 Aug 2016
Accepted Answer
More Answers (0)
Categories
Find more on Grey-Box Model Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!