How do I extract table data from a .mat file given user input?

Currently, the user selects a name, and that is stored in a string variable, "choose". Then, I want to alter the table data, so that based on the variable name the user selects, it will extract that variables table data, and update the table with that data. However, I am not sure how to call that specific variable name. The variable name should be replacing "Test" in the line that says "app.UITable.Data = loadedFile.Test". Could someone please assist me?
Let me know if I should include any other information, thank you!

 採用された回答

Voss
Voss 2023 年 7 月 7 日

0 投票

2 件のコメント

taylor
taylor 2023 年 7 月 7 日
Thank you so much! It works :)
Voss
Voss 2023 年 7 月 7 日
You're welcome!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

質問済み:

2023 年 7 月 7 日

コメント済み:

2023 年 7 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by