Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Contents

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 when there are multiple input parameters.

Input Arguments

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

Examples

% --- 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

|

How To

Was this topic helpful?