Changeset 182


Ignore:
Timestamp:
Dec 16, 2011, 12:28:40 PM (8 years ago)
Author:
tjniskan
Message:
  • Fixed the OSX bug a bit more...

M aedes_data_read.m
M aedes.m
M aedes_revision.m

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • aedes.m

    r177 r182  
    20422042    if ( all(f_name==0) | all(f_path==0) ) % Cancel is pressed
    20432043      return
    2044     end
     2044                end
     2045               
     2046                % There is a bug in uigetfile in OSX version of Matlab and the
     2047                % fid-directory may be returned instead of the fid-file.
     2048                if ismac
     2049                        if length(f_name)>3 && strcmpi(f_name(end-3:end),'.fid')
     2050                                f_path = [fullfile(f_path,f_name),filesep];
     2051                                f_name = 'fid';
     2052                        end
     2053                end
    20452054  else
    20462055    [f_name, f_path, f_index] = aedes_juigetfiles( ...
  • aedes_data_read.m

    r181 r182  
    8888        if ismac
    8989                if length(f_name)>3 && strcmpi(f_name(end-3:end),'.fid')
    90                         filename = [filename,filesep,'fid'];
     90                        f_path = [filename,filesep];
     91                        f_name = 'fid';
     92                        filename = [f_path,f_name];
    9193                end
    9294        end
  • aedes_revision.m

    r181 r182  
    9393% bash-script every time it is called so that this file "aedes_revision.m" is
    9494% always in the list of committed files. DO NOT EDIT THE NEXT LINE!!!
    95 % - SVN Hook -
     95% - Svn Hook -
Note: See TracChangeset for help on using the changeset viewer.

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