Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

  • Confirm before stopping generation: Generates a confirmation dialog box before stopping report generation.

  • Confirmation question: Specifies a confirmation question for the prompt. The default is "Stop generating the report?"

  • Halt button name: Specifies a name for the button that stops report generation. The default is "Halt Generation".

  • Continue button name: Specifies a name for the button that continues report generation. The default is "Continue Generation".

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

Was this topic helpful?