Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> HDF5 Management > h5umount

h5umount

マウントされたファイルのマウント解除する.

呼び出し手順

h5umount(obj, location)

Arguments

obj

a H5Object

location

マウントポイントを指定する文字列

説明

マウントされたファイルのマウントを解除します.

// HDF5ファイルを作成
a = h5open(TMPDIR + "/test.h5", "w")
// マウントポイントとして使用するグループを作成
h5group(a, "/mnt");
// グループとデータセットを有する他のファイルを作成
b = h5open(TMPDIR + "/test1.h5", "w")
h5group(b, "Group_1");
h5write(b, "Group_1/Dataset_1", [1 2;3 4]);
// b を a にマウント
h5mount(a, "/mnt", b)
// aと同等にbを修正または読み込み可能
a.root.mnt.Group_1.Dataset_1.data
h5write(a.root.mnt.Group_1, "Dataset_1", [10 11;12 13])
// マウントを解除し, マウントポイントを削除できる
h5umount(a, "/mnt")
h5rm(a, "/mnt")
// 全て閉じる
h5close(a, b)
// b の修正がokかどうか確認
h5dump(TMPDIR + "/test1.h5", "/Group_1/Dataset_1")

参照

  • h5open — HDF5ファイルをオープン
  • h5mount — グループにファイルをマウントする

履歴

バージョン記述
5.5.0 HDF5モジュールが導入されました.
Report an issue
<< h5rm HDF5 Management h5write >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:10:31 CET 2017