Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

*.mat files into Matlab

Status
Not open for further replies.

Lagrange2k

Computer
Joined
Mar 22, 2005
Messages
1
Location
DE
Hi i have l little problem with my *.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 to A,b,c??
 
It's a struct. You need to address it using name_of_struct.A name_of_struct.b, etc.

Try help struct for additional info.

Ben

Senior Design Analyst
Dunlop Tyres
Motorsport Division
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top