/[MITgcm]/MITgcm/utils/matlab/mnc_assembly.m
ViewVC logotype

Diff of /MITgcm/utils/matlab/mnc_assembly.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by mlosch, Wed Feb 2 10:42:20 2005 UTC revision 1.4 by mlosch, Tue Feb 8 08:45:58 2005 UTC
# Line 238  for ivar = 1:length(vars) Line 238  for ivar = 1:length(vars)
238      myvars(imy).atts       = myatt;      myvars(imy).atts       = myatt;
239      myvars(imy).has_horiz  = has_horiz;      myvars(imy).has_horiz  = has_horiz;
240            
241      addl = setdiff(mydim_names,[mydims.names]);      % this is necessary to make it work with Matlab 6.5
242        if isempty([mydims.names])
243          addl = mydim_names;
244        else
245          addl = setdiff(mydim_names,[mydims.names]);
246        end
247      for iaddl = 1:length(addl)      for iaddl = 1:length(addl)
248        np1 = length(mydims) + 1;        np1 = length(mydims) + 1;
249        mydims(np1).names = addl(iaddl);        mydims(np1).names = addl(iaddl);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22