Usage of Switch block according to the MAAB guidelines

6 views (last 30 days)
Ques No 1 : Is it Compulsary to use only ~=0 condition out of 3 default conditions given in the switch block in a model?
Ques No 2: Is it against the guidelines to use the other two criteria, U2> threshold, U2>=threshold?

Answers (1)

Andy Bartlett
Andy Bartlett on 18 Aug 2022
To satisfy the MAAB guideline, drop in a relational operator block and a constant just prior to the switch block's middle input.
Representing the relational operation with blocks rather then having this "more advanced" configuration tucked inside the Switch Block will be more aligned with the general spirit of the MAAB rationale.
"It is easier to understand specifications when the configuration is applied with Simulink Blocks ..."
  3 Comments

Sign in to comment.

Categories

Find more on MAB Modeling Guidelines in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by