entry
Class: mlreportgen.dom.Table
Namespace: mlreportgen.dom
Access table entry
Description
returns
the table entry for the specified column of the specified row.tableEntryOut
= entry(tableObj
,row
,column
)
Examples
Color a Table Entry
Color the table entry in row 3, column 4.
import mlreportgen.dom.*; rpt = Document("myDoc","html"); t = Table(magic(5)); t.Border = "single"; t.ColSep = "single"; t.RowSep = "single"; t.TableEntriesInnerMargin = "2pt"; t.TableEntriesHAlign = "right"; entry34 = entry(t,3,4); entry34.Children(1).Style = [entry34.Children(1).Style {Color("red")}]; append(rpt,t); close(rpt); rptview(rpt);
Input Arguments
tableObj
— Table containing the entry
mlreportgen.dom.Table
object | mlreportgen.dom.FormalTable
object
Table containing the table entry, specified as a
mlreportgen.dom.Table
or
mlreportgen.dom.FormalTable
object.
row
— Table row containing the entry
number
Index number of the row (top row is row 1).
Data Types: double
column
— Column containing the entry
number
Index number of the column (in a left-to-right text flow table, the left-most column is 1).
Data Types: double
Output Arguments
tableEntryOut
— Table entry object
mlreportgen.dom.TableEntry
object
Table entry at the specified column in the specified row.
Version History
Introduced in R2014b
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)