How to import data into guide which uses a function I have created
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello is there a way to import excel data into a simple GUIDE i have created? I understand workspace data can only be accessed on a script but not a function, hence is there a way to import data in a gui and then pass the data into a function i have created to use the data? Thanks!
댓글 수: 0
채택된 답변
KSSV
2018년 3월 13일
1. The workspace can be accessed by a function, provided you input the variable name of the data as a input to the function.
2. You can input the name of excel file with path to your gui and then read the file inside the gui function.
댓글 수: 3
KSSV
2018년 3월 13일
Why this line?
raw.handles=raw;
Excel file is read and data is loaded into variable raW already.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!