Managing RESTful web sessions using cookies in MATLAB

6 visualizaciones (últimos 30 días)
I'm trying to download a file from the web, programmatically in MATLAB. The issue I have is that the file requires some authentication via session cookies.
MathWorks provide some example code on how to do this, but it's pretty clunky. What do you use when facing this issue? Are there any good open source (e.g. File Exchange) packages that you can recommend to handle the communication? I couldn't find any, which I found surprising.

Respuesta aceptada

Oliver Woodford
Oliver Woodford el 7 de Nov. de 2025
Instead of waiting for answers, I decided to write my own class to handle this. I also wrote a utility function to download public files from Google Drive, and a progress bar to visualize download progress. What a fun day!

Más respuestas (0)

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Productos


Versión

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by