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.

setEntry

Class: ModelAdvisor.Table
Package: ModelAdvisor

Add cell to table

Syntax

setEntry(table, row, column, string)
setEntry(table, row, column, content)

Description

setEntry(table, row, column, string) adds a character vector to a cell in a table.

setEntry(table, row, column, content) adds an object specified by content to a cell in a table.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

row

An integer specifying the row

column

An integer specifying the column

string

A character vector representing the contents of the entry

content

An element object or object array specifying the content of the table entries

Examples

Create two tables and insert table2 into the first cell of table1:

table1 = ModelAdvisor.Table(1, 1);
table2 = ModelAdvisor.Table(2, 3);
.
.
.
setEntry(table1, 1, 1, table2);
Was this topic helpful?