Changeset 187 for aedes.m


Ignore:
Timestamp:
Jan 17, 2012, 3:24:20 PM (6 years ago)
Author:
tjniskan
Message:
  • Fixed: Setting figure to be "always on top" should now work with Matlab R2011b.

M aedes.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes.m

    r186 r187  
    44374437  jf = get(H.OVERLAY_CONTROL_FIG,'javaFrame');
    44384438  pause(0.1) % Make Matlab more stable...
    4439   wh = jf.fFigureClient.getWindow;
     4439        if Dat.MatlabVersion>=7.13
     4440                wh = jf.fHG1Client.getWindow;
     4441        else
     4442                wh = jf.fFigureClient.getWindow;
     4443        end
    44404444  pause(0.1)
    44414445  wh.setAlwaysOnTop(true);
     
    59996003  jf = get(H.TSFIG,'javaFrame');
    60006004  pause(0.05) % Make Matlab more stable...
    6001   wh = jf.fFigureClient.getWindow;
     6005        if Dat.MatlabVersion>=7.13
     6006                wh = jf.fHG1Client.getWindow;
     6007        else
     6008                wh = jf.fFigureClient.getWindow;
     6009        end
    60026010  pause(0.05)
    60036011  wh.setAlwaysOnTop(true);
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008