Download data to Excel from Matlab Web App Server

4 visualizaciones (últimos 30 días)
Yiling
Yiling el 20 de Sept. de 2024
Respondida: Mario Malic el 20 de Sept. de 2024
We have a server virtual machine that is hosting the APP, and several users(clients) would access the web app from their laptops. We would like to download data to Excel from the App and open the Excel file such that it hangs on user's screen (this way users can directly see the data in the workbook without needing to access the folder and manually open the file)
I have two questions in this process:
1. We are currently saving the file into a local drive (C drive) on VM and give all users permission to that drive. I'm wondering is it possible to save the file to a shared drive (say an S drive) that both the VM and client have access to?
2. After saving the file, how can we make the App automatically open the Excel file? We tried the "winopen(filename)" function, but the file will not get opened on the client side with the following error message.

Respuestas (1)

Mario Malic
Mario Malic el 20 de Sept. de 2024

Categorías

Más información sobre MATLAB Web App Server en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by