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

cleaning code for the detection of matlab version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/griddata_uvmat.m

    r116 r147  
    22%adapt the input of the matlab function griddata to the appropriate version of Matlab
    33function ZI = griddata_uvmat(X,Y,Z,XI,YI)
    4 txt=ver;
    5 Release=txt(1).Release;
     4txt=ver('MATLAB');
     5Release=txt.Release;
    66relnumb=str2num(Release(3:4));
    77if relnumb >= 20
Note: See TracChangeset for help on using the changeset viewer.