Changeset 183 for trunk/src/uvmat.m
- Timestamp:
- Jan 26, 2011, 5:03:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r180 r183 2159 2159 ParamIn.VelType=VelType; 2160 2160 ParamIn.GUIName='get_field'; 2161 [Field{1},ParamOut,errormsg] = read_field(ObjectName,FileType,ParamIn); 2161 [Field{1},ParamOut,errormsg] = read_field(ObjectName,FileType,ParamIn,num_i1); 2162 if ~isempty(errormsg) 2163 errormsg=['error in reading ' filename ': ' errormsg]; 2164 return 2165 end 2162 2166 if isfield(ParamOut,'Npx')&& isfield(ParamOut,'Npy') 2163 2167 set(handles.npx,'String',num2str(ParamOut.Npx));% display image size on the interface … … 2244 2248 ParamIn.VelType=VelType_1; 2245 2249 ParamIn.GUIName='get_field_1'; 2246 [Field{2},ParamOut_1,errormsg] = read_field(Name,FileType_1,ParamIn); 2250 [Field{2},ParamOut_1,errormsg] = read_field(Name,FileType_1,ParamIn,num_i1); 2251 if ~isempty(errormsg) 2252 errormsg=['error in reading ' filename_1 ': ' errormsg]; 2253 return 2254 end 2247 2255 UvData.Field_1=Field{2}; %store the second field for possible use at next RUN 2248 2256 end … … 4248 4256 if ~isempty(hview_field) 4249 4257 delete(hview_field) 4258 end 4259 hset_object=findobj(allchild(0),'Tag','set_object'); 4260 if ~isempty(hset_object) 4261 delete(hset_object) 4250 4262 end 4251 4263 else
Note: See TracChangeset
for help on using the changeset viewer.