Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

setColSpan - Class: ModelAdvisor.InputParameter
Package: ModelAdvisor

Specify number of columns for input parameter

Syntax

setColSpan(input_param, [start_col end_col])

Description

setColSpan(input_param, [start_col end_col]) specifies the number of columns that the parameter occupies. Use the setColSpan method to specify where you want an input parameter located in the layout grid when there are multiple input parameters.

Inputs

input_paramInstantiation of the ModelAdvisor.InputParameter class
start_colA positive integer representing the first column that the input parameter occupies in the layout grid
end_colA positive integer representing the last column that the input parameter occupies in the layout grid

Example

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]);
  


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