How do I get the values from workspace to the app designer table
4 ビュー (過去 30 日間)
古いコメントを表示
I want to show the data in the XX array found in the workspace, on the table in app designer in the XX column
0 件のコメント
回答 (1 件)
Eric Delgado
2022 年 9 月 20 日
You could use save and load functions or assignin function (if you want to send data from appdesigner to base workspace). But maybe a better approach is to read the data directly in your app, just call it from the startup of your app, putting the table in your app.UITable.
% In your workspace:
save('myFile.mat', 'myTableVariable')
% In your app:
load('myFile.mat')
app.UITable.Data = myTableVariable;
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!