Thread Subject: loading mat file problem

Subject: loading mat file problem

From: nurul

Date: 24 Jul, 2010 05:12:32

Message: 1 of 1

hi everyone..

im new in gui matlab.. i got problem in loading the .mat file.
there are several .mat file that being needed for the calculation which it contains data.

and the function to calculate n compare the file class is like this.

.
.
.
testlogliknpVSp=mhmm_logprob(b(:,:),priornp,transmatnp,munp,Sigmanp,mixmatnp);%NOPAIN MODEL
testloglikpVSp=mhmm_logprob(b(:,:),priorp,transmatp,mup,Sigmap,mixmatp); %PAIN MODEL
if testloglikpVSp > testlogliknpVSp
.
.
.

all the priornp, priorp, transmatnp,transmatp, etc need to read all the .mat file.

--->so the question is, how do i load the .mat file(there are 12 files)
so that priornp,transmatnp,munp,Sigmanp,mixmatnp,etc can work fine and read the data? i dont want to use uigetfile to load all the 12 .mat files. and my previous load codes didnt work. please someone help me.

any kind help is so much appreciated

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
quadruplicate post Mark Shore 24 Jul, 2010 02:42:57
rssFeed for this Thread

Contact us at files@mathworks.com