writeascii

バージョン 1.0.0.0 (1.78 KB) 作成者: Alex Sanchez
Saves vector, matrix (up to 3 dimensions) ...
ダウンロード: 3.3K
更新 2006/4/3

ライセンスがありません

Easy function to write ASCII files

USAGE:
show = writeascii(outfile,data,dataformat,outperm)

DESCRIPTION:
Saves vector, matrix (up to 3 dimensions), string,
or cell array data into an ASCII file.

INPUT VARIABLES:
outfile = Name of out-file
default 'data.asc'
data = Vector, matrix (up to 3 dimensions), string,
or cell array data
dataformat = format used for all columns of numeric data
e.g. '%5.6f ', ' %2g\t'
default is calculated using the highest decimal or
used in each column of data or 8 which ever is lower
if the data is a string, '%s' is used as the format
or delimiter to be used between columns
e.g. ' ', '\t'
default '\t' %tab, helps makes it easier to import to excel
outperm = Permision for out-file used with fopen
e.g. 'a', 'w+'
default 'w'

OUTPUT VARIABLES:
show = string saying the name of the out-file and
where it was saved

VALID INPUT FORMATS:
writeascii(data)
writeascii(outfile,data)
writeascii(outfile,data,dataformat)
writeascii(outfile,data,dataformat,outperm)

引用

Alex Sanchez (2024). writeascii (https://www.mathworks.com/matlabcentral/fileexchange/4138-writeascii), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersText Files についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

update