Distribute values from one table variable to multiple table variables in the Live Editor
The Unstack Table Variables task lets you interactively unstack, or distribute, values in a table or timetable from one variable to multiple variables. The task automatically generates MATLAB® code for your live script.
To add the Unstack Table Variables task to a live script in the MATLAB Editor:
On the Live Editor tab, select Task > Unstack Table Variables.
In a code block in the script, type a relevant keyword, such as
unstack
or table
. Select Unstack
Table Variables from the suggested command completions.
join
| Join Tables | stack
| Stack Table Variables | unstack