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

18 views (last 30 days)
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

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:

Community Treasure Hunt

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

Start Hunting!