row
クラス: mlreportgen.dom.Table
名前空間: mlreportgen.dom
テーブル行へのアクセス
説明
は、指定された行番号のテーブル行を返します。tableRowOut
= row(tableObj
,row
)
例
テーブル行の色付け
テーブルの 2 番目の行に色を付けます。
import mlreportgen.dom.*; myReport = Document('myDoc','html'); t = Table(magic(5)); te = row(t,2); te.Style = {Color('red')}; append(myReport,t); close(myReport); rptview(myReport.OutputPath);
入力引数
tableObj
— エントリを含むテーブル
mlreportgen.dom.Table
オブジェクト
エントリを含むテーブル。mlreportgen.dom.Table
オブジェクトとして指定します。
row
— テーブル行
数値
行のインデックス番号 (最初の行が行 1)。
データ型: double
出力引数
tableRowOut
— テーブル行オブジェクト
mlreportgen.dom.TableRow
オブジェクト
テーブル行オブジェクト。mlreportgen.dom.TableRow
オブジェクトで表されます。
バージョン履歴
R2014b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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)