Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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]);
Was this topic helpful?