anyway to transfer data from matlab workspace to appdesigner
조회 수: 124 (최근 30일)
이전 댓글 표시
Hi:
I want to develop an app based on the data in the workspace. is there anyway to do it like 'cftool'? i.e. once I open the app, the list of variable in workspace are available :
Thanks!
Yu
댓글 수: 0
답변 (1개)
Payas Bahade
2019년 8월 26일
Hi Yu,
Assuming that you want to import data from MATLAB workspace into the App Designer, the below mentioned links would be helpful:
댓글 수: 2
haobo zhang
2022년 5월 5일
I've got one way, you can try:
variable_names = evalin('base','who');
It'll return a cell array of the variable names in the workspace, then you can load specific data like this:
first_data = evalin('base', variable_names{1});
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!