Changeset 556 for trunk/src


Ignore:
Timestamp:
Oct 19, 2012, 12:24:28 PM (12 years ago)
Author:
gostiaux
Message:

regexp \. instead of .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r554 r556  
    34723472    if ~ischar(FileName),return,end %abandon if the browser is cancelled
    34733473    path_transform_fct =fullfile(PathName,FileName);
    3474     if isempty(regexp(FileName,'.m$'))% detect file extension .m
     3474    if isempty(regexp(FileName,'\.m$'))% detect file extension .m
    34753475        msgbox_uvmat('ERROR','a Matlab function .m must be introduced');
    34763476        return
    34773477    else
    3478         transform_name=regexprep(FileName,'.m','');
     3478        transform_name=regexprep(FileName,'\.m','');
    34793479    end
    34803480    ichoice=find(strcmp(transform_name,menu),1);%look for the selected fct in the existing menu
Note: See TracChangeset for help on using the changeset viewer.