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_obj | Instantiation of the ModelAdvisor.Check class |
| row | Number of rows in the layout grid |
| col | Number 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
 | setInputParameters (ModelAdvisor.Check) | | setItalic (ModelAdvisor.Text) |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit