Changeset 886 for trunk/src/series.m


Ignore:
Timestamp:
Mar 28, 2015, 10:04:00 PM (9 years ago)
Author:
sommeria
Message:

bug on memory increase solved for civ_series and stereo_civ, corrections for Matlab2014b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r883 r886  
    264264
    265265%% introduce the input file name(s) if defined from input Param,
     266set(handles.series,'UserData',[])% initiate Userdata
    266267if isfield(Param,'InputFile')
    267268   
     
    20782079   
    20792080    % record the file extension and extend the path list if it is a new extension
    2080 %     ActionExtList=get(handles.ActionExt,'String');
    2081 %     ActionExtIndex=find(strcmp(ActionExt,ActionExtList), 1);
    2082 %     if isempty(ActionExtIndex)
    2083 %         set(handles.ActionExt,'String',[ActionExtList;{ActionExt}])
    2084 %     end
     2081    ActionExtList=get(handles.ActionExt,'String');
     2082    ActionExtIndex=find(strcmp(ActionExt,ActionExtList), 1);
     2083    if isempty(ActionExtIndex)
     2084        set(handles.ActionExt,'String',[ActionExtList;{ActionExt}])
     2085    end
    20852086
    20862087    % remove old Action options in the menu (keeping a menu length <nb_builtin_ACTION+5)
     
    21052106        ActionListUser=ActionList(NbBuiltinAction+1:numel(ActionList)-1);
    21062107        ActionPathListUser=ActionPathList(NbBuiltinAction+1:numel(ActionList)-1);
    2107 %         ActionExtListUser={};
    2108 %         if numel(ActionExtList)>2
    2109 %             ActionExtListUser=ActionExtList(3:end);
    2110 %         end
     2108        ActionExtListUser={};
     2109        if numel(ActionExtList)>2
     2110            ActionExtListUser=ActionExtList(3:end);
     2111        end
    21112112        if exist(profil_perso,'file')
    21122113            save(profil_perso,'ActionListUser','ActionPathListUser','ActionExtListUser','-append')
Note: See TracChangeset for help on using the changeset viewer.