Changeset 181 for aedes_getfilefilter.m


Ignore:
Timestamp:
Dec 16, 2011, 12:16:11 PM (7 years ago)
Author:
tjniskan
Message:
  • Added a workaround for the uigetfile-bug in OSX version of Matlab, where uigetfile in some situations returns a directory instead of a file. This bug seems to be present at least in R2011a version of Matlab.

M aedes_getfilefilter.m
M aedes_data_read.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_getfilefilter.m

    r174 r181  
    8888  ''}';
    8989
     90% Uigetfile is broken in OSX version of Matlab (at least R2011a), and
     91% doesn't work with filters that are not file extensions (e.g. fid or
     92% 2dseq).
     93if ismac
     94        filefilt{1,1} = '*.*';
     95        filefilt{1,2} = 'All Files';
     96end
     97
    9098% - EOF -
Note: See TracChangeset for help on using the changeset viewer.

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