Report Generator
  Go to Component
    Search    Help Desk 
Text

Component

Text

Category

Formatting

Description

The Text component inserts and formats text into your report. The text component should have the Paragraph component as its parent.

Attributes

This is the Text attribute page.

Note:
To view a component attribute page in the Setup File Editor, select the component in the setup file outline on the left and click on the Options tab. If the component is not in the setup file outline, you must add it to the outline first. See Chapter 4 for a discussion on how to add a component to the outline.

Text to include in report
Enter the text you want to include in your report in this field.

%<VariableName> Notation

You can enter %<VariableName> in this field (and in any field where the text appears blue) to include the value of a variable from the MATLAB workspace. You cannot enter more than one variable in the %<>. If you enter an invalid variable name, then the report will contain %<VariableName> instead of the value of the variable.

Example 1

If you enter the following:

and if ObjName='plant' and NumLeaves=3 in the MATLAB workspace,

then the report will contain the following:

Example 2

If you enter the following:

then the report will contain the text that you get when you type help peaks at the command line.

Emphasize text
If you want to have the text appear italicized in the report, select this option.
Retain spaces and carriage returns
If you want to keep spaces and carriage returns in your text, select this option. If you do not select this option, the text will still insert one space any time you have one or more spaces; it will not keep any carriage returns.

Insert anything into report?

Yes. Text.

Filename

cfrtext



[ Previous | Help Desk | Next ]