MATLAB Answers

This model will not inherit a sample time because a sample time was explicitly set in block

17 views (last 30 days)
raja s
raja s on 4 Dec 2012
Answered: Stefanie Schwarz on 18 May 2020
in matlab 7.1 r14sp3 i run my model i had the following error message This model will not inherit a sample time because a sample time was explicitly set in block how i can correct this problem i need ur help

  0 Comments

Sign in to comment.

Answers (1)

Stefanie Schwarz
Stefanie Schwarz on 18 May 2020
The solution is in the error message - do not set explicit sample times for blocks in your referenced model. A referenced model inherits its sample time only if the model contains no blocks that specify sample times other than Inherited (-1) or Constant. See also:

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by