Command to open a workspace variable in new tab

3 次查看(过去 30 天)
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
];

采纳的回答

Walter Roberson
Walter Roberson 2022-5-11
openvar data_array

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by