Command to open a workspace variable in new tab

3 views (last 30 days)
My program takes brainscanning data and extracts 12 key variables from it that workers will then paste into a google sheet for statistics. Is there a line of code I could insert after this (below) so that it would open the workspace variable data_array in a new tab? I know how to do this manually by right clicking it in the workspace, but this is a tool I am making for my lab--and having the program fool-proof deliver the results directly to the user would be cleaner.
data_array = [
right_lat_ah, left_lat_ah, lat_ratio_ah;
right_lat_DDK, left_lat_DDK, lat_ratio_DDK;
right_lat_boot, left_lat_boot, lat_ratio_boot;
right_lat_paragraph, left_lat_paragraph, lat_ratio_paragraph
];

Accepted Answer

Walter Roberson
Walter Roberson on 11 May 2022
openvar data_array

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!