how to download a .mat file ?

63 vues (au cours des 30 derniers jours)
Younes BELABID
Younes BELABID le 11 Mai 2021
Commenté : Rik le 11 Mai 2021
I want to know how to download a matlab data (with variables inside 15*6006 - Gain matrix) in a script function.
thank you,
  1 commentaire
Jan
Jan le 11 Mai 2021
From where? Locally from your disk, from a network drive or from the internet? From an FTP/SCP-server?

Connectez-vous pour commenter.

Réponses (1)

EmirBeg
EmirBeg le 11 Mai 2021
Modifié(e) : EmirBeg le 11 Mai 2021
load('data.mat') ; % Of course with the name of your file
It then loads all the variables in your workspace.
  1 commentaire
Rik
Rik le 11 Mai 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by