workspace2struct¶
WORKSPACE2STRUCT - Export the current workspace to a structure
OUTPUT = WORKSPACE2STRUCT
Saves the local workspace as a structure for easy export.
Each variable is added a field to the structure OUTPUT.
Example:
Imagine your workspace has one variable A, equal to 5.
output = workspace2struct
produces
output =
a: 5