nccreate overwrite existing file
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
oceanmod
le 26 Nov 2019
Réponse apportée : oceanmod
le 26 Nov 2019
How to use nccreate to create a new file clobbering any previous file with the same name?
Matlab's question-begging documentation doesn't help. Here's matlab's info on nccreate:
"If filename does not exist, then nccreate creates the file using the netcdf4_classic format."
Great, but if the filename does exist?
0 commentaires
Réponse acceptée
Stijn Haenen
le 26 Nov 2019
Have you tried this:
if exist(filename)
delete filename
end
nccreate.....
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur NetCDF dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!