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: Rik
Subject: [Octave-bug-tracker] [bug #44670] hgload can't open Matlab figures
Date: Sun, 4 Nov 2018 12:33:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

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

I applied the fix_open.patch here
https://hg.savannah.gnu.org/hgweb/octave/rev/4f502f56664e.

I additionally modified it so that it checks for the .ofig extension whether
an output is requested before deciding to call openfig.


-  elseif (any (strcmpi (ext, {".fig", ".ofig"})))
-    output = openfig (file);
-    drawnow ();
+  elseif (any (strcmpi (ext, ".ofig")))
+    if (nargout > 0)
+      output = openfig (file);
+    else
+      openfig (file);
+    endif




    _______________________________________________________

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]