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!

More Answers (0)

Categories

Asked:

on 7 Jul 2023

Commented:

on 7 Jul 2023

Community Treasure Hunt

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

Start Hunting!