Is there a full definition of block priority that's missing (R2011a) ?

2 次查看(过去 30 天)
I am trying to assign block priorities to blocks in a simulation and I'm getting the warning about unable to honor. The warning says that the priority it is unable to honor is (pri=[40, Inf, Inf, Inf]). I'm unable to find documentation that says anything other than a single number can be a priority.
  1 个评论
Vandana Rajan
Vandana Rajan 2017-3-1
编辑:Vandana Rajan 2017-3-1
Hi,
What are the block priorities that you gave? How did you assign priorities? Actually simulink analyses the blocks in a particular model and decides their priorities. It may or may nor honor the priority order we have given.
"Simulink software honors the block priorities that you specify unless they violate data dependencies."

请先登录,再进行评论。

回答(1 个)

Vandana Rajan
Vandana Rajan 2017-3-1
Hi,
Could you also try by making the subsystem as an atomic unit? For this, tick the check-box, 'Treat as atomic unit' for the subsystem.
  1 个评论
John Dzielski
John Dzielski 2017-3-1
I understand the reason for the error message. What I am questioning is why the error message says that a priority may consist of 4 numbers. All the documentation on priorities that I've found says that it is only one. The question is: Is there documentation that describes what the four numbers of a priority mean, or is the error message a mistake?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by