How do I get the values from workspace to the app designer table
조회 수: 16 (최근 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!