Changeset 147 for trunk/src/series.m


Ignore:
Timestamp:
Nov 30, 2010, 2:54:46 PM (10 years ago)
Author:
gostiaux
Message:

cleaning code for the detection of matlab version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r118 r147  
    284284        save (profil_perso,'MenuFile_1','MenuFile_2','MenuFile_3','MenuFile_4', 'MenuFile_5','-append'); %store the file names for future opening of uvmat
    285285    else
    286         txt=ver;
    287         Release=txt(1).Release;
     286    txt=ver('MATLAB');
     287    Release=txt.Release;
    288288        relnumb=str2num(Release(3:4));
    289289        if relnumb >= 14
     
    393393        save (profil_perso,'MenuFile_1','MenuFile_2','MenuFile_3','MenuFile_4', 'MenuFile_5','-append'); %store the file names for future opening of uvmat
    394394    else
    395         txt=ver;
    396         Release=txt(1).Release;
     395    txt=ver('MATLAB');
     396    Release=txt.Release;
    397397        relnumb=str2num(Release(3:4));
    398398        if relnumb >= 14
     
    740740    save (profil_perso,'RootPath','SubDir','RootFile','NomType', '-append'); %store the root name for future opening of uvmat
    741741else
    742     txt=ver;
    743     Release=txt(1).Release;
     742    txt=ver('MATLAB');
     743    Release=txt.Release;
    744744    relnumb=str2num(Release(3:4));
    745745    if relnumb >= 14
     
    16421642        save(profil_perso,'series_fct','-append')
    16431643   else
    1644         txt=ver;
    1645         Release=txt(1).Release;
     1644    txt=ver('MATLAB');
     1645    Release=txt.Release;
    16461646        relnumb=str2num(Release(3:4));
    16471647        if relnumb >= 14
Note: See TracChangeset for help on using the changeset viewer.