Changeset 125


Ignore:
Timestamp:
May 10, 2010, 12:43:10 PM (9 years ago)
Author:
tjniskan
Message:
  • Fixed a rare bug in saving ROIs and results when data was moved

between Linux and Windows.

M aedes.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes.m

    r121 r125  
    83568356if strcmpi(fn,'fid')
    83578357  Ind=find(fp==filesep);
     8358  if isempty(Ind)
     8359    if ispc
     8360      Ind=find(fp=='/');
     8361    else
     8362      Ind=find(fp=='\');
     8363    end
     8364  end
    83588365  filename = fp(Ind(end)+1:end);
    83598366  filename = filename(1:end-4);
     
    1020010207if strcmpi(fn,'fid')
    1020110208  Ind=find(fp==filesep);
     10209  if isempty(Ind)
     10210    if ispc
     10211      Ind=find(fp=='/');
     10212    else
     10213      Ind=find(fp=='\');
     10214    end
     10215  end
    1020210216  fname = fp(Ind(end)+1:end);
    1020310217  fname = fname(1:end-4);
Note: See TracChangeset for help on using the changeset viewer.

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