setColHeading

Class: ModelAdvisor.Table
Package: ModelAdvisor

Specify table column title

Syntax

setColHeading(table, column, heading)

Description

setColHeading(table, column, heading) specifies that the column header of column is set to heading.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

column

An integer specifying the column number

heading

A string, element object, or object array specifying the table column title

Examples

table1 = ModelAdvisor.Table(2, 3);
setColHeading(table1, 1, 'Header 1');
setColHeading(table1, 2, 'Header 2');
setColHeading(table1, 3, 'Header 3');
Was this topic helpful?