Frequency response estimation error

6 views (last 30 days)
shanchang
shanchang on 3 Jun 2025
Answered: Andrew Ouellette on 3 Jun 2025
error:In "frestimate(modelname,op,io,in)", it is required for each of the linearization input I/O points that the sample time of the Simulink signal where it is located is one of the following:
1. It is either continuous or fixed in minor time step.
2. Its sample rate is equal to the sample rate of the input signal "in".
The linearization I/O io(1) does not satisfy this requirement. Consider either changing the sample time of Simulink signal where io(1) is located to continuous sample time or changing the sample time of input signal "in".
However, my sampling time is already set to the same, why do I still get this error?

Answers (1)

Andrew Ouellette
Andrew Ouellette on 3 Jun 2025
We can't really say exactly what the issue is without all the inputs to your frestimate call- your model (mdl), your io points (io), and your input signal (in). This error message is thrown if the sample time of the signal corresponding to io(1) is not compatabile with the sample time of in. The sample times are compabile if they are both discrete with the same sample time, or if the signal corresponding to io(1) is either continuous or fixed in minor time step.
If you cannot resolve the issue, you should make a help ticket with techincal support.

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!