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

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

[Octave-bug-tracker] [bug #44670] hgload can't open Matlab figures


From: Guillaume
Subject: [Octave-bug-tracker] [bug #44670] hgload can't open Matlab figures
Date: Mon, 5 Nov 2018 12:34:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #33, bug #44670 (project octave):

So far, I've been concerned with compatibility with Matlab figures (e.g. from
a hgS_070000 struct) so the fix is in struct2hdl.m. From what I understand
from Pantxo's comment #3 and comment #6, hdl2struct.m uses a different
behavior for the "special" field (storing indices instead of handles):
https://hg.savannah.gnu.org/hgweb/octave/file/a21d7d269472/scripts/plot/util/hdl2struct.m#l75
https://hg.savannah.gnu.org/hgweb/octave/file/a21d7d269472/scripts/plot/util/struct2hdl.m#l618
so if a change was made to use Matlab mechanism, there would be a backward
compatibility issue with figures saved by Octave (in a s_oct40 struct).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?44670>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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