<< h5isGroup h5is* tests h5isSet >>

Scilab Help >> HDF5 files > h5is* tests > h5isRef

h5isRef

HDF5オブジェクトがリファレンスオブジェクトかどうか確認

呼び出し手順

b = h5isRef(obj)

引数

obj

H5Object

b

論理値

説明

HDF5オブジェクトがリファレンスオブジェクトかどうか確認します.

// SODファイル(HDF5ファイル)を作成
x = list(1, "hello");
save(TMPDIR + "/x.sod", "x");
// ファイルを開く
a = h5open(TMPDIR + "/x.sod", "r");
// テスト
h5isRef(a)
// 'x'という名前のデータセットのリファレンスに対してテスト
y = a.root.x.data;
h5isRef(y)
// リファレンス値を取得
y(1).data, y(2).data
// 全て閉じる
h5close(a)

参照

履歴

VersionDescription
5.5.0 HDF5モジュールが導入されました.

Report an issue
<< h5isGroup h5is* tests h5isSet >>