Sampling Time issue for linearization of continuous time model

2 Ansichten (letzte 30 Tage)
Ced
Ced am 15 Okt. 2015
Kommentiert: Ced am 15 Okt. 2015
I am trying to follow these steps ( Linearization Tool Simulink ) for linearizing my model, but I am getting the following error:
Root Inport [...] has a sample time of [0, 0] which does not match the sample time [0, 1] of its destination [...].
I only have continuous blocks, so I'm confused. Displaying the sampling times, I see that constant blocks have the sampling time set to "inf" (as I think it should be), but the sampling time is marked as Fixed in Minor Step, which is different from Cont, see the figure.
What I am missing? Thanks!
  1 Kommentar
Ced
Ced am 15 Okt. 2015
I found a workaround: The problem arises when this FiM value is fed back into an "in" port of another block, where (for a continuous signal) the sampling time should be [0, 0] but is wrongly inherited as [0, 1] from this FiM thing.
If you manually set the sampling time of this in port to [0, 0], simulink does not seem to be complaining anymore.
I would still be interested if anyone knows more about this FiM business (or if this is a bug), as I find it very strange.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by