Report Generator
  Go to Component
    Search    Help Desk 
Variable Table

Component

Variable Table

Category

MATLAB

Description

The Variable Table component creates and inserts a table that includes all variables in the MATLAB workspace. You can find all the variables in the MATLAB workspace by typing whos at the command line.

Attributes

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

Read variables from:
Select one of the following options:

Display Options

Table title
Select one of the following options for the table title:
If you have a title for a table, it is included in the List of Tables if the stylesheet you chose in the Report Options attribute page supports it. See "Report Format and Stylesheets" in Chapter 2 to find stylesheets that have a List of Tables.

Columns in table
Select information to be contained in table columns:

Example

This is an example of a variable table that includes variable size, variable memory bytes, and variable value information in the table columns.

name
size
bytes
Value
aCell
1x2
238
{ [ 1 2 3 4 ] Speed (kph) }
aNumber
1x1
8
1
aString
1x11
22
Speed (kph)
aStructure
1x1
302
[struct w/ fields: Inputs, Outputs]
aVector
1x4
32
[ 1 2 3 4 ]

Insert anything into report?

Yes. Table.

Filename

cmlwhos



[ Previous | Help Desk | Next ]