Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setInputParametersLayoutGrid - Class: ModelAdvisor.Check
Package: ModelAdvisor

Specify layout grid for input parameters

Syntax

setInputParametersLayoutGrid(check_obj, [row col])

Description

setInputParametersLayoutGrid(check_obj, [row col]) specifies the layout grid for input parameters in the Model Advisor. Use the setInputParametersLayoutGrid method if there are multiple input parameters.

Inputs

check_objInstantiation of the ModelAdvisor.Check class
rowNumber of rows in the layout grid
colNumber of columns in the layout grid

Example

% --- sample check 1
rec = ModelAdvisor.Check('com.mathworks.sample.Check1');
rec.Title = 'Check Simulink block font';
rec.TitleTips = 'Example style three callback';
rec.setCallbackFcn(@SampleStyleThreeCallback,'None','StyleThree');
rec.setInputParametersLayoutGrid([3 2]);

See Also

ModelAdvisor.InputParameter — Add input parameters to custom checks
Customizing the Model Advisor — Describes how to create custom checks
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS