Changeset 520 for trunk/src/read_field.m
- Timestamp:
- Aug 18, 2012, 12:51:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_field.m
r517 r520 45 45 % ParamOut.FieldName='velocity';%Civx data found, set .FieldName='velocity' by default 46 46 % ParamOut.ColorVar='ima_cor'; 47 if isfield(ParamIn,'ColorVar') 47 48 InputField=[{ParamIn.FieldName} {ParamIn.ColorVar}]; 49 else 50 InputField= {ParamIn.FieldName}; 51 end 48 52 [Field,ParamOut.VelType,errormsg]=read_civdata(FileName,InputField,ParamIn.VelType); 49 53 if ~isempty(errormsg),errormsg=['read_civdata:' errormsg];return,end … … 51 55 case 'civx' 52 56 ParamOut.FieldName='velocity';%Civx data found, set .FieldName='velocity' by default 53 ParamOut.ColorVar='ima_cor'; 54 InputField=[{ParamOut.FieldName} {ParamOut.ColorVar}]; 57 % ParamOut.ColorVar='ima_cor'; 58 if isfield(ParamIn,'ColorVar') 59 InputField=[{ParamIn.FieldName} {ParamIn.ColorVar}]; 60 else 61 InputField= {ParamIn.FieldName}; 62 end 55 63 [Field,ParamOut.VelType]=read_civxdata(FileName,InputField,ParamIn.VelType); 56 64 if ~isempty(errormsg),errormsg=['read_civxdata:' errormsg];return,end
Note: See TracChangeset
for help on using the changeset viewer.