octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31942] Save/load single precision variables w


From: anonymous
Subject: [Octave-bug-tracker] [bug #31942] Save/load single precision variables with MATLAB data format fails
Date: Tue, 04 Jan 2011 13:39:36 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

Follow-up Comment #3, bug #31942 (project octave):

Hi,

It's definitely better but there is still something wrong when saving the
file as MATLAB doesn't load it properly.
Try with the following:
clear a;a.field1=single(1);a.field2=single(2);save a.mat a -v6;load a.mat
If you load the the Octave-created 'a.mat' in MATLAB, you get this:
a = 
    field1: []
    field2: []
while the other way round works ('a.mat' created by MATLAB and successfully
read by Octave).

Many thanks.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31942>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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