I am creating a IDDATA object "z" and I am estimating an IDMODEL "m" using the System Identfication Toolbox. When I use the COMPARE function as follows,
compare(z,m)
I get a good fit. However, when I export these models into Simulink and try to see the results on a Scope, I find that the output of the model does not match the output of the IDDATA object. I am not sure why Simulink is giving the wrong result.
Best Answer