Changeset 466 for trunk/src/read_field.m


Ignore:
Timestamp:
Jun 21, 2012, 7:27:59 PM (12 years ago)
Author:
sommeria
Message:

bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r452 r466  
    1515%
    1616%INPUT
    17 % ObjectName: name of the input file, or movie object when the Matlab function mmreader is used
     17% FileName: name of the input file
    1818% FileType: type of file
    1919%     = netcdf : netcdf file
     
    2828%     .ColorVar: variable used for vector color
    2929%     .Npx, .Npy: nbre of pixels along x and y (used for .vol input files)
     30% num: frame number for movies
     31
    3032function [Field,ParamOut,errormsg] = read_field(FileName,FileType,ParamIn,num)
    3133Field=[];
     
    3840ParamOut=ParamIn;%default
    3941errormsg='';
    40 if isfield(ParamIn,'VelType')
    41 VelType=ParamIn.VelType;
    42 end
     42% if isfield(ParamIn,'VelType')
     43% VelType=ParamIn.VelType;
     44% end
    4345A=[];
    4446%% distingush different input file types
Note: See TracChangeset for help on using the changeset viewer.