failure to CLOBBER an netcdf4 file
    5 views (last 30 days)
  
       Show older comments
    
using netcdf4 format I can't seem to overwrite existing files - works ok with classic. I get the following - any ideas?
nc = netcdf.create('tmp.nc','CLOBBER') ??? Error using ==> netcdflib Library failure "Can't add HDF5 file metadata".
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 26 May 2011
        James, don't let your function exit prematurely: use try/catch blocks. Or, since you are using a very new version, use onCleanup()
0 Comments
More Answers (1)
  John
    
 on 25 May 2011
        I cannot reproduce your issue, James, what platform and release are you running.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!