how to download a .mat file ?

I want to know how to download a matlab data (with variables inside 15*6006 - Gain matrix) in a script function.
thank you,

2 Comments

From where? Locally from your disk, from a network drive or from the internet? From an FTP/SCP-server?
how to download data.mat

Sign in to comment.

Answers (1)

EmirBeg
EmirBeg on 11 May 2021
Edited: EmirBeg on 11 May 2021
load('data.mat') ; % Of course with the name of your file
It then loads all the variables in your workspace.

1 Comment

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.

Sign in to comment.

Categories

Asked:

on 11 May 2021

Commented:

on 29 Oct 2024

Community Treasure Hunt

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

Start Hunting!