To get the value of a variable, you would need the N number as below:
Var = netcdf.getVar(ncid, N);
Currently, the "ncdisp" function does not indicate the N number of a variable. This new function called "ncwhos" indicates the N number along with the other info.
引用
Leon (2025). Reading information of a NetCDF file (https://www.mathworks.com/matlabcentral/fileexchange/82655-reading-information-of-a-netcdf-file), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0 |