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.

setRowSpan

Class: ModelAdvisor.InputParameter
Package: ModelAdvisor

Specify rows for input parameter

Syntax

setRowSpan(input_param, [start_row end_row])

Description

setRowSpan(input_param, [start_row end_row]) specifies the number of rows that the parameter occupies. Specify where you want an input parameter located in the layout grid when there are multiple input parameters.

Input Arguments

input_paramThe input parameter object
start_rowA positive integer representing the first row that the input parameter occupies in the layout grid
end_rowA positive integer representing the last row that the input parameter occupies in the layout grid

Examples

inputParam2 = ModelAdvisor.InputParameter;
inputParam2.Name = 'Standard font size';
inputParam2.Value='12';
inputParam2.Type='String';
inputParam2.Description='sample tooltip';
inputParam2.setRowSpan([2 2]);
inputParam2.setColSpan([1 1]);
Was this topic helpful?