Main Content

entry

Class: mlreportgen.ppt.Table
Package: mlreportgen.ppt

Access table entry

Description

example

tableEntryOut = entry(tableObj,row,column) returns the table entry for the specified column of the specified row.

Examples

expand all

Color the table entry in row 3, column 4.

import mlreportgen.ppt.*;

ppt = Presentation('myTableEntryMethod.pptx');
open(ppt);
slide1 = add(ppt,'Title and Content');
t = Table(magic(5));
entry4row3 = t.entry(3,4);
entry4row3.BackgroundColor = 'red';

replace(slide1,'Content',t);

close(ppt);
rptview(ppt);

Input Arguments

expand all

Table containing the entry, specified as an mlreportgen.ppt.Table object.

Table row containing the entry, specified as a double. The double is an index number indicating the position of the row. The number of the top row is 1.

Data Types: double

Table column containing the entry, specified as a double. The double is an index number indicating the position of the column. The number of the left column is 1.

Data Types: double

Output Arguments

expand all

Table entry object, returned as an mlreportgen.ppt.TableEntry object

Introduced in R2014b