ヘルプ センターヘルプ センター
クラス: mlreportgen.dom.Document 名前空間: mlreportgen.dom
ドキュメントを閉じる
close(docObj)
例
close(docObj) は、ドキュメントを閉じます。ドキュメントを閉じた後は、そのドキュメントにコンテンツを追加できません。ドキュメントを閉じる際、残りのすべてのコンテンツ (テンプレート テキストの残りなど) が出力されます。
docObj
すべて展開する
myReport ドキュメントを閉じます。
myReport
import mlreportgen.dom.*; myReport = Document('mydoc','html'); append(myReport,Paragraph('This is an introduction')); close(myReport); rptview('mydoc','html');
mlreportgen.dom.Document
閉じるドキュメント。mlreportgen.dom.Document オブジェクトとして指定します。
R2014b で導入
open | mlreportgen.dom.Document
open
次の 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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office