Command to open a workspace variable in new tab

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 日

1 投票

openvar data_array

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWorkspace 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