MATLAB standalone application that includes Excel data template
5 次查看(过去 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!