netcdf.inqGrpName
グループ名を返す
説明
例
NetCDF ファイルからのグループ名の取得
この例では、NetCDF サンプル ファイルを開き、データセットのグループ名を取得します。
ncid = netcdf.open("example.nc",'NOWRITE'); name = netcdf.inqGrpName(ncid); netcdf.close(ncid);
入力引数
ncid
— NetCDF ファイル識別子
整数
関数 netcdf.create
または関数 netcdf.open
によって返される NetCDF ファイルの識別子、または関数 netcdf.defGrp
によって返される NetCDF グループの識別子。
データ型: double
出力引数
groupName
— グループの名前
文字ベクトル
ncid
で指定されたグループの名前。文字ベクトルとして返されます。ルート グループの名前は '/'
です。
データ型: char
バージョン履歴
R2010b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)