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: Wed, 31 Oct 2018 08:20:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Thanks John and Rik for pushing and cleaning the new functions.

Concerning open.m, *.fig files will now automatically be opened with openfig.m
so no need to have specific code for it. For *.ofig, we can either have an
openofig.m wrapper around openfig.m (as suggested by Pantxo in comment #18),
or leave it explicitly as it currently is. I attach relevant changes to
open.m

I also attach a number of changes to struct2hdl.m that implement the
following:
* Figures are created invisible and set to visible at the end if required.
This prevents flickering for invisible figures and allows for a faster load
(as one doesn't see each element created one at a time).
* The integerhandle property is used while creating a figure instead of being
set afterwards. This prevents the figure handle to change, see bug #53342.
* Support for ui* objects.
* The other changes provide extra robustness for figures saved in matlab. They
mainly correspond to checking that a given property exists before using it.

There is still a lot more to do, including merging changes from Pantxo in
comment #6, but, with these changes, I observe a good compatibility with
matlab *.fig files so it's an exciting step forward.

(file #45337, file #45338)
    _______________________________________________________

Additional Item Attachment:

File name: fix_open.patch                 Size:0 KB
File name: fix_struct2hdl.patch           Size:4 KB


    _______________________________________________________

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]