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 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Matlab to Scilab Conversion Tips > matfile2sci

matfile2sci

converts a Matlab 5 MAT-file into a Scilab binary file

Syntax

matfile2sci(mat_file_path,sci_file_path[, overwrite])

Arguments

mat_file_path

character string containing the path of the Matlab input file

sci_file_path

character string containing the path of the Scilab output file

overwrite

a boolean: wipes the sci_file_path file if set to true. False by default.

Description

Converts a Matlab 5 MAT-file into a SOD file compatible with the function load (See save for more information). The Matlab data types are converted into the Scilab equivalents.

The function exits without creating an output file if no variable was found in the input file.

See also

  • loadmatfile — lMatlab V6 MATファイル (バイナリまたは ASCII) を Scilabに読み込む
  • load — 保存した1個または複数の変数を読み込む
  • save — バイナリファイルに1個または複数の変数を保存する
  • mfile2sci — Matlab M-file to Scilab conversion function

Bibliography

This function has been developed according to the document "MAT-File Format": Mat-File Format

History

バージョン記述
5.4.0 Scilab output file in a SOD (Scilab Open Data) file.
5.5.0 Output file can be overwritten or appended.
Report an issue
<< m2scideclare Matlab to Scilab Conversion Tips Matlab-Scilab_character_strings >>

Copyright (c) 2022-2024 (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:43 CET 2017