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.

setEntryValign

Class: ModelAdvisor.Table
Package: ModelAdvisor

Specify table cell vertical alignment

Syntax

setEntryValign(table, row, column, alignment)

Description

setEntryValign(table, row, column, alignment) specifies the cell alignment of the designated cell.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

row

An integer specifying row number

column

An integer specifying column number

alignment

Cell vertical alignment, specified as one of the following:

  • 'top' (default)

  • 'middle'

  • 'bottom'

Examples

table1 = ModelAdvisor.Table(2,3);
setHeading(table1, 'New Table');
.
.
.
setEntry(table1, 1, 1, 'First Entry');
setEntryValign(table1, 1, 1, 'middle');
Was this topic helpful?