Questions tagged [matlab-load]

This tag refers to Matlab's `load` command for loading data from mat-files. DO NOT USE LOAD TAG FOR THESE QUESTIONS.

Matlab uses a special format to store data to files on disk.
The load command is used to read previously stored mat-files to memory for further processing.

Do not confuse this tag with (which is used for CPU load related questions).

65 questions
0
votes
1 answer

Using load with data from cells

In my code I'm trying to use load with entries from a cell, but it is not working. The portion of my code below produces a 3 dimensional array of strings. The strings represent the paths to file names. for i = 1:Something for j = 1:Something…
0
votes
2 answers

Open .mat file in matlab or unix - new user

I am going through someone's data analysis files (created in an older version of matlab) and trying to find out what a particular .mat file is that was used in a matlab script. I am trying to load a .mat file in matlab. I want to see what is in…
0
votes
1 answer

easily accessing data in matlab matrices loaded with scipy

When I load in a .mat file with scipy.io.loadmat, I get a data structure which is difficult to deal with because I have to guess at what level in the structure the data is contained. The numpy or scipy representation wraps everything in deep lists.…
anonymous
  • 193
  • 2
  • 5
0
votes
1 answer

Tips on optimizing this code that loads multiple files in Matlab?

fname = dir('*sir'); dayH = zeros(length(fname),1360,3600); for i=1:length(fname) dayH(i,:,:) = loadsir(fname(i).name); end fname = dir('*sir'); dayH = cell(1,length(fname)); for i=1:2 dayH{i} = loadsir(fname(i).name);…
Supa
  • 135
  • 2
  • 10
-1
votes
2 answers

How can I read this file in MATLAB?

I have a file named data.dat with the following contents: my name is elyas 123 this is a book 123.450 my father name -2.34e+05 I want load this file into MATLAB and get the following data as output: a = 123 b = 123.450 c = -2.34e+05 name =…
Elmoya
  • 101
  • 1
  • 2
  • 8
1 2 3 4
5