Sampling Time issue for linearization of continuous time model

2 vues (au cours des 30 derniers jours)
Ced
Ced le 15 Oct 2015
Commenté : Ced le 15 Oct 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 commentaire
Ced
Ced le 15 Oct 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by