How do I use NCWRITE to write an entire variable?
古いコメントを表示
Hello, I'm working with netcdf file. I want to write a value to a variable that it's an array.
My problem is that when I do for example:
ncwrite('myfile.nc', 'variable', 2)
Value=2 of the variable. The value 2 only goes to the first position of the array variable, and what I want is to give the value 2 in all the components of the array variable.
How can I do it?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で NetCDF についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!