ent">% define variables and attributes</span>
0112 disp(<span class="string">'writing nprocs attributes'</span>);
0113 nprocs_varid=netcdf.defVar(nc,<span class="string">'nprocs'</span>,<span class="string">'NC_INT'</span>,one_dimid);
0114 netcdf.putAtt(nc,nprocs_varid,<span class="string">'long_name'</span>,<span class="string">'number of processors'</span>);
0115 
0116 disp(<span class="string">'writing npartition attributes'</span>);
0117 npart_varid=netcdf.defVar(nc,<span class="string">'partition'</spa