ヘルプ センターヘルプ センター
子グループ ID の配列を返す
childGrps = netcdf.inqGrps(ncid)
例
childGrps = netcdf.inqGrps(ncid) は、ncid によって指定されたファイルまたは親グループ内のすべての子グループ ID を返します。
childGrps
ncid
すべて折りたたむ
この例では、netCDF サンプル ファイルを開き、含まれているグループについての情報を取得します。
ncid = netcdf.open("example.nc",'NOWRITE'); childGroups = netcdf.inqGrps(ncid); netcdf.close(ncid);
netcdf.create または netcdf.open によって返される netCDF ファイルの識別子、または netcdf.defGrp によって返される netCDF グループの識別子。非負の整数スカラーとして指定します。
netcdf.create
netcdf.open
netcdf.defGrp
データ型: double
double
指定された netCDF ファイルまたはグループ内の子グループの識別子。非負の整数配列として返されます。
この関数は、netCDF ライブラリ C API の関数 nc_inq_grps に相当します。
nc_inq_grps
R2010b で導入
netcdf.inqNcid | netcdf.inqGrpName | netcdf.inqVarIDs | netcdf.create | netcdf.open | netcdf.defGrp
netcdf.inqNcid
netcdf.inqGrpName
netcdf.inqVarIDs
次の 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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office