Ignore:
Timestamp:
Apr 12, 2011, 12:12:19 AM (13 years ago)
Author:
sommeria
Message:

correct Matlab PIV, remove call to image tool box. Improve menu of uvmat VelType? (replacement of buttons)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/find_field_indices.m

    r187 r236  
    142142        return
    143143    end
    144     if numel(ivar_vector_x)>1 || numel(ivar_vector_y)>1 || numel(ivar_vector_z)>1
    145         errormsg='multiply defined vector components in the same cell';
    146         return
    147     end 
     144%     if ivar_vector_x>1
     145%         ivar_vector_x=ivar_vector_x(1);
     146%     end
     147%     if ivar_vector_y>1
     148%         ivar_vector_y=ivar_vector_y(1);
     149%     end
     150%     if ivar_vector_z>1
     151%         ivar_vector_z=ivar_vector_z(1);
     152%     end
    148153    if numel(ivar_errorflag)>1
    149154        errormsg='multiply defined error flag in the same cell';
Note: See TracChangeset for help on using the changeset viewer.