List workspace variables
cm_list_workspace_varsList variables with their names, classes, and sizes from the MATLAB base workspace or a Simulink model workspace, optionally filtered by wildcard pattern.
Instructions
Variables (name, class, size) of the MATLAB base workspace or of a Simulink model's workspace. Controller parameters usually live in the model workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'base' for the MATLAB base workspace, or the name of a loaded Simulink model for that model's workspace | base |
| pattern | No | Wildcard filter on the name, e.g. 'Kp_*' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||