Load Data into GUI
이전 댓글 표시
I’m building a GUI that running few tests.
There is data in a mat file that need to be uploading every time the user runs a specific test.
The only way I found to load the data is to read this file,
Data = load(‘Theoretical_Si.mat’)
The problem is that once compiling the GUI to exe, one must remember to place the mat file into the x32\x64 folder, this is a risk that for time to time disruptive the work.
Is there any “elegant” way to load the data without read the file? Can I somehow put the data into the GUI?
채택된 답변
추가 답변 (1개)
Walter Roberson
2014년 1월 1일
0 개 추천
You can use the mcc option "-a" to add a file to the ones bundled with the .exe . Expect the file to show up in cftroot()
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!