MATLAB SIMULINK VERIFICATION AND VALIDATION - S Betriebsanweisung Seite 662

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 674
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 661
27 Create Procedural-Based Model Advisor Configurations
27-2
Create Procedures
In this section...
“What Is a Procedure?” on page 27-2
“Create Procedures Using the Procedures API” on page 27-2
“Define Procedures” on page 27-2
What Is a Procedure?
A procedure is a series of checks. The checks in a procedure depend on passing the
previous checks. If Check A is the first check in a procedure and Check B follows, the
Model Advisor does not run Check B until Check A passes. Checks A and B can be either
custom or provided by MathWorks.
You create procedures with the ModelAdvisor.Procedure class API. You first add the
checks to tasks, which are wrappers for the checks. The tasks are added to procedures.
See “Create Procedures Using the Procedures API” on page 27-2.
When creating procedural checks, be aware of potential conflicts with the checks. Verify
that it is possible to pass both checks.
Create Procedures Using the Procedures API
You use the ModelAdvisor.Procedure class to create procedural checks.
1
Add each check to a task using the ModelAdvisor.Task.setCheck method. The
task is a wrapper for the check. You cannot add checks directly to procedures. For
more information, see “Define Custom Tasks” on page 26-14.
2
Add each task to a procedure using the ModelAdvisor.Procedure.addTask
method.
Define Procedures
You define procedures in a procedure definition function that specifies the properties
of each instance of the ModelAdvisor.Procedure class. Define one instance of the
procedure class for each procedure that you want to add to the Model Advisor. Then
register the procedure using the ModelAdvisor.Root.register method.
Seitenansicht 661
1 2 ... 657 658 659 660 661 662 663 664 665 666 667 ... 673 674

Kommentare zu diesen Handbüchern

Keine Kommentare