how to download a .mat file ?

62 ビュー (過去 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 Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by