how to download a .mat file ?

26 次查看(过去 30 天)
Younes BELABID
Younes BELABID 2021-5-11
评论: Rik 2021-5-11
I want to know how to download a matlab data (with variables inside 15*6006 - Gain matrix) in a script function.
thank you,
  1 个评论
Jan
Jan 2021-5-11
From where? Locally from your disk, from a network drive or from the internet? From an FTP/SCP-server?

请先登录,再进行评论。

回答(1 个)

EmirBeg
EmirBeg 2021-5-11
编辑:EmirBeg 2021-5-11
load('data.mat') ; % Of course with the name of your file
It then loads all the variables in your workspace.
  1 个评论
Rik
Rik 2021-5-11
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by