Changeset 466 for trunk/src/read_field.m
- Timestamp:
- Jun 21, 2012, 7:27:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_field.m
r452 r466 15 15 % 16 16 %INPUT 17 % ObjectName: name of the input file, or movie object when the Matlab function mmreader is used17 % FileName: name of the input file 18 18 % FileType: type of file 19 19 % = netcdf : netcdf file … … 28 28 % .ColorVar: variable used for vector color 29 29 % .Npx, .Npy: nbre of pixels along x and y (used for .vol input files) 30 % num: frame number for movies 31 30 32 function [Field,ParamOut,errormsg] = read_field(FileName,FileType,ParamIn,num) 31 33 Field=[]; … … 38 40 ParamOut=ParamIn;%default 39 41 errormsg=''; 40 if isfield(ParamIn,'VelType')41 VelType=ParamIn.VelType;42 end42 % if isfield(ParamIn,'VelType') 43 % VelType=ParamIn.VelType; 44 % end 43 45 A=[]; 44 46 %% distingush different input file types
Note: See TracChangeset
for help on using the changeset viewer.