Optimize model parameter values to achieve model best fit to the input data
Show older comments
Hi,
I am trying to define optimoptions in the 'fit' function, but it is giving me an error. I followed the optimoptions link given on this documentation
options = optimoptions(@fmincon,'Algorithm','interior-point','Display','off');
[tm,diffTable,errorStat,optimOutput] = tm.fit(longitudinal_data,"Fx Pure",Solver="fmincon",options,PlotFit=true);
The error is Unsupported use of the '=' operator. To compare values for equality, use '=='. To pass name-value arguments using the name=value format, provide these arguments after all other inputs.
Any help would be appreciated. Thanks.
1 Comment
Muhammad umer Khan
on 8 Apr 2024
Accepted Answer
More Answers (0)
Categories
Find more on Nonlinear Control 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!