Report Generator
  Go to Component
    Search    Help Desk 
Insert Variable

Component

Insert Variable

Category

MATLAB

Description

The Insert Variable component takes one of the following variables and inserts its value (and name, if you choose to do so) into the report:

Attributes

This is the Insert Variable 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.

Variable to Include

Variable location
Select one of the following options:
Variable name
Enter the name of the variable in this field.
You can use %<VariableName> to insert the value of a variable from the MATLAB workspace. For example, if you enter the following expression in this field:
And you have the following in your MATLAB workspace:
Then your report will contain the following:
If you enter %<velocity> in this field, and your MATLAB workspace contains the same information, then your report will also contain 50.

Render Options

Name display
Select one of the options listed below to display the variable in the report:
You can choose how the variable appears in the report in the first drop box in this section:

You can choose how a variable array appears in the report in the second drop box in this section:

Insert anything into report?

Yes. Text.

Filename

cmlvariable



[ Previous | Help Desk | Next ]