User`s guide
Insert Variable
10-47
Insert Variable
Insert variable values into report
Description
This component inserts the value (and, optionally, the name) of each the following
variables into the report:
• A variable from the MATLAB workspace
• A variable from a MAT-file
• A global variable
• A variable that you specify directly
Source
• Variable name: Specifies the name of the variable:
• %<VariableName>: Inserts the value of a variable from the MATLAB workspace
into the report.
• Variable location:
• Base Workspace: Gets a variable from the MATLAB workspace.
• MAT File: Gets a variable from a binary file with a .mat extension.
• Global variable: Gets a global variable.
• Direct: Gets a variable that you specify directly.
Display Options
• Title: Specify a title for the report:
• Automatic: Generates a title automatically.
• Custom: Specifies a custom title.
• None: Specifies no title.