Delimiter separated string to array conversion | function: Array = str2array(String, Delimiter)

版本 1.0.0.0 (928 字节) 作者: Sugato
This function creates an array A from a delimiter-separated string S.
38.0 次下载
更新时间 2017/8/12

查看许可证

Function Description:
This function creates an array A from a delimiter-separated string S.

AUTHOR: Sugato Ray | Created on: 25-APR-2017 | ray.sugato[at]gmail.com

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

INPUT:
S = delimiter separated string
Delimiter = ',' is default. => This assumes a CSV String.
The user could choose any characher as the delimiter.

OUTPUT:
A = array

EXAMPLE:
S = array2str(A,Delimiter);

引用格式

Sugato (2026). Delimiter separated string to array conversion | function: Array = str2array(String, Delimiter) (https://ww2.mathworks.cn/matlabcentral/fileexchange/64101-delimiter-separated-string-to-array-conversion-function-array-str2array-string-delimiter), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息
版本 已发布 发行说明
1.0.0.0

Updated Title.