This model will not inherit a sample time because a sample time was explicitly set in block
Show older comments
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
on 18 May 2020
0 votes
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:
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!