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

  • 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 629
25 Create Model Advisor Checks
25-54
inputParam2.Name = 'Standard font size';
inputParam2.Value='12';
inputParam2.Type='String';
inputParam2.Description='sample tooltip';
inputParam2.setRowSpan([2 2]);
inputParam2.setColSpan([1 1]);
inputParam3 = ModelAdvisor.InputParameter;
inputParam3.Name='Valid font';
inputParam3.Type='Combobox';
inputParam3.Description='sample tooltip';
inputParam3.Entries={'Arial', 'Arial Black'};
inputParam3.setRowSpan([2 2]);
inputParam3.setColSpan([2 2]);
rec.setInputParameters({inputParam1,inputParam2,inputParam3});
The Model Advisor displays these input parameters in the right pane, in an Input
Parameters box.
List View Definition
The following is an example of defining list views. You must make the Explore Result
button visible using the ModelAdvisor.Check.ListViewVisible property inside a
custom check function, and include list view definitions inside a check callback function
(see “Detailed Check Callback Function” on page 25-39).
Zobrazit stránku 629
1 2 ... 625 626 627 628 629 630 631 632 633 634 635 ... 673 674

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

Žádné komentáře