Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.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ヘルプ >> Matlab binary files I/O > matfile_close

matfile_close

Matlab バイナリ MATファイルを閉じる.

呼び出し手順

status = matfile_close(fd)

引数

fd

実数: ファイル記述子 (matfile_openにより返される).

status

論理値: 閉じるのに成功した場合に %T ,そうでない場合に %F .

説明

matfile_openにより開かれた Matlab バイナリ MATファイルを閉じます.

fd = matfile_open("test_matfile.mat","w");
matfile_varwrite(fd, "foo", "bar", %t);
if matfile_close(fd) == %t then
disp("close worked!");
else
disp("close failed!");
end
fd = matfile_open("test_matfile.mat");
matfile_listvar(fd)
matfile_close(fd);

参照

  • matfile_open — Matlab バイナリ MAT-ファイルを開く.
  • matfile_varreadnext — Matlab バイナリ MATファイルの次の変数を読み込む.
  • matfile_varwrite — Matlab バイナリ MATファイルに変数を書き込む.
  • matfile_listvar — Matlab バイナリ MATファイルの中の変数の一覧を得る.

参考文献

この関数はMATIOライブラリ ( http://sourceforge.net/projects/matio/ )を使用しています.

Report an issue
<< matfile2sci Matlab binary files I/O matfile_listvar >>

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 25 08:53:30 CET 2020