Sampling Time issue for linearization of continuous time model

2 次查看(过去 30 天)
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 个评论
Ced
Ced 2015-10-15
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by