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

2 Ansichten (letzte 30 Tage)
John Dzielski
John Dzielski am 20 Feb. 2017
Kommentiert: John Dzielski am 1 Mär. 2017
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 Kommentar
Vandana Rajan
Vandana Rajan am 1 Mär. 2017
Bearbeitet: Vandana Rajan am 1 Mär. 2017
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."

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Vandana Rajan
Vandana Rajan am 1 Mär. 2017
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 Kommentar
John Dzielski
John Dzielski am 1 Mär. 2017
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by