help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem loading a mat file


From: Sylvain LEFEBVRE
Subject: Re: Problem loading a mat file
Date: Sat, 7 Jun 2014 22:11:11 +0200 (CEST)

Thank you,

I can't use matlab because i don't have access to the licence server from my 
home.
I will try regenerate the mat file with the scripts i currently have.

Apparently this "gmdistribution" class is not implemented in octave 'signal' 
package. 
So i think it fails to load because it can't recognize the class when reading 
the file.

I am afraid this problem will have to wait until the implementation of the 
gmdistribution class...

Thanks for your help everyone !

----- Mail original -----
De: "Markus Bergholz" <address@hidden>
À: "Sylvain LEFEBVRE" <address@hidden>
Cc: "Andreas Weber" <address@hidden>, address@hidden
Envoyé: Samedi 7 Juin 2014 21:46:28
Objet: Re: Problem loading a mat file







On Sat, Jun 7, 2014 at 9:40 PM, Sylvain LEFEBVRE < address@hidden > wrote: 


Hi again, 

Data results from: 

$ obj_A = gmdistribution.fit(mydata,1); 
$ save obj_A.mat obj_A 


Br, 
Sylvain 

----- Mail original ----- 
De: "Sylvain LEFEBVRE" < address@hidden > 
À: "Andreas Weber" < address@hidden > 
Cc: address@hidden 
Envoyé: Samedi 7 Juin 2014 21:34:53 


Objet: Re: Problem loading a mat file 

Hi Andy, 

You can download the files here: 
https://www.dropbox.com/sh/x0efj7kud0an2i0/AAAsjPFSrDfvU_skBfdidoCCa 

BTW, call to: 

$ file obj_A.mat 
returns "obj_A.mat: Matlab v5 mat-file (little endian) version 0x0100" 

for both versions of the file. I wouldn't file a bug if it is not one. 

The file was generated with matlab 2012. I am digging in the code to find how 
it was generated. 

br, 
Sylvain 

----- Mail original ----- 
De: "Andreas Weber" < address@hidden > 
À: "Sylvain LEFEBVRE" < address@hidden >, address@hidden 
Envoyé: Samedi 7 Juin 2014 14:51:57 
Objet: Re: Problem loading a mat file 

Am 07.06.2014 13:13, schrieb Sylvain LEFEBVRE: 
> I also tried to save the file from matlab to v7 format, with no 
success (same output). 
> I can provide the mat file in PM, if needed. 

yes, please upload both to your webspace or for example 
http://trash.ctdo.de or file a bug report 
https://savannah.gnu.org/bugs/?group=octave and attach it there. 

-- Andy 

_______________________________________________ 
Help-octave mailing list 
address@hidden 
https://lists.gnu.org/mailman/listinfo/help-octave 



For those who don't have matlab 

>> whos 
Name Size Bytes Class Attributes 

ans 1x1 8 double 
exc 1x1 432653 MException 
obj_A 1x1 13356 gmdistribution 



but dunno if octave knows those classes. it's the first time I've seen those. 




Click here to report this email as spam.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]