Skip to Main Content Skip to Search
Product Documentation

Stop Report Generation - Halt report generation

Description

This component acts like Stop during report generation. You can use this component inside an if/then statement by using Logical and Flow Control components to halt the report-generation process when the specified condition is true. When report generation halts, an XML source file is created, but not converted.

Confirmation Properties

Example

This example creates a simple report that takes a snapshot of the current figure. If there is no current figure, the report generation automatically halts:

[-] Report - figure-report.rpt
	[-] if (isempty(get(0,'CurrentFigure')))
		[ ] Stop Generation
	[-] Figure Loop - current
		[-] Chapter - <Title from SubComponent1>
			[ ] Figure Name
			[ ] Graphics Figure Snapshot
			[ ] Figure Prop Table - Figure Properties

Insert Anything into Report?

No.

Class

rptgen.crg_halt_gen

See Also

Comment, Import File, Nest Setup File, Time/Date Stamp

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS