Changeset 8726
- Timestamp:
- 06/28/11 00:39:02 (14 years ago)
- Location:
- issm/trunk/src/m/utils
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/m/utils/Exp/readwrite/expread.m ¶
r2609 r8726 73 73 Struct(count).y=A(2,:)'; 74 74 75 if(Struct(count).nods~=length(Struct(count).x))error(['Profile ' num2str(count) ' reports incorrect length']); end; 76 75 77 %skip last coordinate if whole=0, 76 78 if whole==0, fscanf(fid,'%f %f',[1 2]); end -
TabularUnified issm/trunk/src/m/utils/Interp/PatchToVec.m ¶
r8668 r8726 5 5 % vec=PatchToVec(Patch) 6 6 7 %if the patch is P0 , we need to transform the vector a little bit first7 %if the patch is P0: we have element values, return an element vector 8 8 switch(Patch.interpolation(1)), 9 9 case P0Enum, -
TabularUnified issm/trunk/src/m/utils/Model/loadmodel.m ¶
r8367 r8726 21 21 warning off MATLAB:unknownElementsNowStruc; 22 22 struc=load(path,'-mat'); 23 23 24 warning on MATLAB:unknownElementsNowStruc; 24 25 … … 31 32 32 33 %now, transform md into a new model 33 if ~strcmpi(class(md),'model') ,34 if ~strcmpi(class(md),'model') & ~strcmpi(class(md),'planet'), 34 35 md2=structtomodel(model,md); 35 36 md=md2;
Note:
See TracChangeset
for help on using the changeset viewer.