Re-accessing arrays from live scripts

I just started using live scripts this week, and am loving them. Today, I reopened one from yesterday and wanted access to the struct that I created in the last session. The output of the creation is saved in the script:
actual_sesh_list = 1x285 struct array with fields:
sesh_folder_name
sesh_folder_content_flags
But it's not available in my workspace. Is there any way to save array outputs in the live script itself, without actually saving/reloading variables at the end/start of each session of the same script?

回答 (1 件)

Jared MacDonald
Jared MacDonald 2020 年 5 月 4 日

0 投票

Hi ohmstead,
Currently, live scripts do not restore the variables into the workspace when you open them. You must re-run the script, or save and reload from a .MAT file, as you've noted. But we've made a note of your interest in this capability.
Thanks,
Jared

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

質問済み:

2018 年 10 月 9 日

回答済み:

2020 年 5 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by