MATLAB ヘルプ センター
クラス: mlreportgen.dom.TableRow 名前空間: mlreportgen.dom
テーブル行へのコンテンツの追加
entryOut = append(rowObj,entryObj)
entryOut = append(rowObj,entryObj) は、テーブル行にエントリを追加します。
entryOut
rowObj
entryObj
例
すべて展開する
2 列のテーブルを作成します。
import mlreportgen.dom.*; myReport = Document('myDoc','html'); table = Table(2); table.Style = {Border('solid'),RowSep('solid'),ColSep('solid')}; table.TableEntriesStyle = {Width('2in'),HAlign('center')};
エントリを含む 3 つのテーブル行を作成します。append(row,te) を使用して各エントリを行に追加します。
append(row,te)
for i=1:3 row = TableRow(); te = TableEntry(); append(te,Text([num2str(i) ' - 1'])); append(row,te); te = TableEntry(); append(te,Text([num2str(i) ' - 2'])); append(row,te); append(table,row); end
テーブルを追加し、レポートを表示します。
append(myReport,table); close(myReport); rptview(myReport.OutputPath);
mlreportgen.dom.TableRow
テーブル エントリを追加する行。mlreportgen.dom.TableRow オブジェクトとして指定します。
mlreportgen.dom.TableEntry
追加するテーブル エントリ。mlreportgen.dom.TableEntry オブジェクトとして指定します。
追加されたテーブル エントリ。mlreportgen.dom.TableEntry オブジェクトで表されます。
R2014b で導入
mlreportgen.dom.TableRow | mlreportgen.dom.TableEntry
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ