Sampling Time issue for linearization of continuous time model

1 view (last 30 days)
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 Comment
Ced
Ced on 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.

Sign in to comment.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!