Scilab 5.4.1
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
read_csv
カンマ区切り形式のファイルを読み込む
呼び出し手順
M = read_csv(fname [,sep])
パラメータ
- fname
文字列. ファイルのパス.
- sep
文字列. 使用するフィールドセパレータ, デフォルト値は
","ascii(9)or"\t"for a tabulation separator are accepted.- M
文字列の行列.
説明
例えば表計算ソフトウエアで"テキストおよびカンマ"形式で
作成した,フィールドのデリミタを有するアスキーファイルを
指定すると, M = read_csv(fname) は対応する
Scilabの文字列行列を返します.
セパレータを変更するには, M = read_csv(fname,sep) としてください.
![]() | 文字列変数を数値変数に変換するために
関数 evstrによりMの全体あるいは一部を評価することができます. |
例
| Report an issue | ||
| << csvWrite | Spreadsheet | readxls >> |
