Sampling Time issue for linearization of continuous time model

2 visualizaciones (últimos 30 días)
Ced
Ced el 15 de Oct. de 2015
Comentada: Ced el 15 de Oct. de 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 comentario
Ced
Ced el 15 de Oct. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by