MATLAB "advice" command not working properly

1 view (last 30 days)
I'm working on some system identification stuff and wanted to know what MATLAB thinks of my identified model. I have my model as a 1x1 idtf and my data is an iddata object. When I type advice(sys,data) into the command line I get the following error:
Struct contents reference from a non-struct array object.
Error in idParametric/advice (line 59)
WhyStop = R.Termination.WhyStop;
Has anyone encountered this before? I have no problem using the "advice" command with IDTF models that I've exported from the system identification app, but it doesn't seem to work for IDTF objects that I create in the editor.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!