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

23 次查看(过去 30 天)
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

回答(1 个)

Stefanie Schwarz
Stefanie Schwarz 2020-5-18
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:

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by