Scilab 5.5.0
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
readxls
Excelファイルを読み込む
呼び出し手順
sheets = readxls(file_path)
パラメータ
- file_path
文字列: Excelファイルのパス.
- sheets
xls型のmlistで,sheetsという名前のフィールドを有します
説明
Excelファイルのパスを指定すると,この関数は
sheetsという名前のフィールドを有する
xls
型の mlistデータ構造体を返します.
このsheets フィールドはそれ自体 sheetデータ構造体の
リストです.
sheet=mlist(['xlssheet','name','text','value'],sheetname,Text,Value) ただし,
sheetnameはシートの名前を有する文字列です.
Text はセルの文字列を有する文字列の行列,
Valueはセルの値を有する数値の行列です.
![]() | BIFF8 Excelファイル(最近のExcelファイルのバージョン(2003))のみが処理可能です. |
例
使用される関数
この関数はScilab関数 xls_open
およびxls_readに基づいています.
| Report an issue | ||
| << read_csv | Spreadsheet | write_csv >> |
