| Contents | Index |
This component inserts a table that displays all the variables in the MATLAB workspace.
Tip Find all the variables in the MATLAB workspace by typing whos at the command line. |
Read variables from:
Base workspace: Reads variables from the MATLAB workspace.
MAT-file: Reads variables from a binary file with a .mat extension. Use the %<VariableName> notation. For more details about this notation, see %<VariableName> Notation on the Text component reference page.
Table title:
Automatic (Variables from MATLAB workspace): Sets the table title to the name of a MATLAB variable.
Custom: Specifies a custom title.
Table Columns:
Variable dimensions (MxN): Includes the size of the variable.
Variable memory bytes: Includes the number of bytes of memory consumed by the variable.
Variable class: Includes the variable class.
Variable value: Includes the value of the variable.
The following is an example of a variable table that includes size, memory bytes, and 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 ] |
Yes. Table.
rptgen.cml_whos
Evaluate MATLAB Expression, Insert Variable, MATLAB Property Table, MATLAB/Toolbox Version Number

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |