MATLAB standalone application that includes Excel data template
조회 수: 7 (최근 30일)
이전 댓글 표시
I would like to include an Excel spreadsheet within my standalone application that has a lot of formatting applied and will simply be filled with data and saved to a local drive. If I include it as a 'required file' during compilation, MATLAB opens it when I load the program. Obviously I can prompt the user to select the file or I can save the file in a specific directory, but is there any way to do it by storing the xlsx file as part of the program?
댓글 수: 3
Kevin Chng
2018년 10월 28일
For compilation, i'm still prefer save it as mat. file. if user want to print it, at that moment, in your program, you write your data to excel.
채택된 답변
Image Analyst
2018년 10월 28일
Use the -a option in mcc to include a file in your executable.
댓글 수: 7
Evan Bates
2019년 1월 15일
Did this work for you? I want to do the same thing, however, can't get it to work.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!