How to use an Excel template for exporting data using Web Application?

Hi, I deployed a web application by using appdesigner and I want to export data to an Excel file in a specific format. How should I use a template Excel file to write data?

 Accepted Answer

xlswrite('myexcel.xls',datas)
Or
writetable('myexcel.xls',datas)

2 Comments

The template file 'myexcel.xls' should be on server and how can I address that?
uiputfile(). However, it is only supported by 2018b. if you use MATLAB before 2018b, you have to ensure the user have access to the file you stored in server.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 22 Oct 2018

Edited:

on 24 Oct 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!