MATLAB SIMULINK VERIFICATION AND VALIDATION - S Uživatelská příručka Strana 612

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 674
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 611
25 Create Model Advisor Checks
25-36
instance of this class for each list view that you want to add to a Model Advisor Result
Explorer window.
Note: You do not have to create list views for every custom check.
For a code example, see “List View Definition” on page 25-54.
Define Check Actions
An action provides a way for you to specify an action that the Model Advisor performs
to fix a Model Advisor check. When you define an action, the Model Advisor window
includes an Action box below the Analysis box.
You define actions using the ModelAdvisor.Action class inside a custom check
function (see “Define Custom Checks” on page 25-30). You must define:
One instance of this class for each action that you want to take.
One action callback function for each action (see “Action Callback Function” on page
25-43).
Note:
Each check can contain only one action.
You do not have to create actions for every custom check.
For a code example, see “Action Definition” on page 25-55.
Zobrazit stránku 611
1 2 ... 607 608 609 610 611 612 613 614 615 616 617 ... 673 674

Komentáře k této Příručce

Žádné komentáře