open-discussion > I met a problem when load PIPE_status.mat
Showing 1-2 of 2 posts
Display:
Results per page:
Nov 26, 2011  06:11 AM | cui zaixu
I met a problem when load PIPE_status.mat
Dear Pierre ,

     I need to know the status of my jobs in my program.

     So I load the PIPE_status.mat file.

     The command is simple:  load ...../PIPE_status.mat

     But something bad happened, 

     The error is :
                 Unable to read MAT-file /data/logs/PIPE_status.mat: not a binary MAT-file.
                Try LOAD -ASCII to read as text.

     I have searched, http://www.mathworks.cn/support/solutions/en/data/1-35WPVT/index.html?solution=1-35WPVT

     MathWorks said as in the website.

     But I cannot solve it.

     I have tried to modify your code, but failed.

     Could you give me some help ?

     Thanks very much !

Best Regards

Zaixu
Nov 27, 2011  08:11 PM | Pierre Bellec
RE: I met a problem when load PIPE_status.mat
Dear Ziaxu,

I did run into a similar problem a number of times, when I tried to access some logs generated using Octave from Matlab. By default, Octave is using a weird CSV-like file format that's not supported by Matlab. You need to force a different default (HDF5) which is used also by Matlab. The command is:

default_save_options('-7');    % Use the same .mat files as Matlab

You can make this change permanent by editing the file .octaverc in your home directory. You may also want to add 'more off' because that verbose mode is way more comfortable with PSOM. I am not sure this is the problem you had, but that's my best guess.

Best regards,

Pierre