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.

setColHeadingAlign

Class: ModelAdvisor.Table
Package: ModelAdvisor

Specify column title alignment

Syntax

setColHeadingAlign(table, column, alignment)

Description

setColHeadingAlign(table, column, alignment) specifies the alignment of the column heading.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

column

An integer specifying the column number

alignment

Alignment of the column heading. alignment can have one of the following values:

  • left (default)

  • right

  • center

Examples

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