*.mat files into Matlab

*.mat files into Matlab

Post by Lagrang » Thu, 24 Mar 2005 01:24:51


Hi i have l little problem with *.mat files. I used the comand load
to read the variables of my file into matlab. But this doesnt work
well. I just got this (here with file lp_adlittle.mat):

Problem =

title: 'Netlib LP problem adlittle: minimize c'*x, where Ax=b,
lo<=x<=hi'
name: 'LPnetlib/lp_adlittle'
A: [56x138 double]
b: [56x1 double]
c: [138x1 double]
lo: [138x1 double]
hi: [138x1 double]
z0: 0

Ok, but i can't use the matrix A, the vector b etc.. Does anyone know
how to access
 
 
 

*.mat files into Matlab

Post by Je » Thu, 24 Mar 2005 01:28:58

Hi,

try

Problem.A

Seems like a structure :

< http://www.yqcomputer.com/ ;

Seems that you use :

Problem=load yourfile.mat

Try :

load yourfile.mat

Je

 
 
 

*.mat files into Matlab

Post by Lagrang » Thu, 24 Mar 2005 02:01:58

thx a lot - Problem.A is working ;-)