I am developing a WebApp in Matlab R2020b and wish to implement features for exporting & downloading files.
I am already using the standard (and documented) functions such as writecell, writetable, etc. which enable to download ASCII files, Excel tables, etc. Downloading pictures from the GUI can also be done successfully.
My questions concern the general case, when files need to be generated fist, and then downloaded:
1) Which directories does the WebApp have access to, so temporary files can be generated there?
2) How can these files be simply downloaded from the WebApp? If I use the command web(), Matlab tries to open the files after downloading them.
Thank you in advance for your reply.