how to download a .mat file ?

47 visualizaciones (últimos 30 días)
Younes BELABID
Younes BELABID el 11 de Mayo de 2021
Comentada: Raghunath reddy el 29 de Oct. de 2024 a las 9:24
I want to know how to download a matlab data (with variables inside 15*6006 - Gain matrix) in a script function.
thank you,
  2 comentarios
Jan
Jan el 11 de Mayo de 2021
From where? Locally from your disk, from a network drive or from the internet? From an FTP/SCP-server?
Raghunath reddy
Raghunath reddy el 29 de Oct. de 2024 a las 9:24
how to download data.mat

Iniciar sesión para comentar.

Respuestas (1)

EmirBeg
EmirBeg el 11 de Mayo de 2021
Editada: EmirBeg el 11 de Mayo de 2021
load('data.mat') ; % Of course with the name of your file
It then loads all the variables in your workspace.
  1 comentario
Rik
Rik el 11 de Mayo de 2021
You should always load to a variable. That way it is clear where your variables are coming from. This syntax will probably be invalid in a future release.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by