str2strs.m

Takes a deliminated string s and breaks it up into sub-strings stored in a cell-array of strings.

您现在正在关注此提交

This function takes a deliminated string s and breaks it up into sub-strings stored in a cell-array of strings. Spaces in the string are converted to underscore characters. It is currently set-up for tab delimination though may be modified for another character. Any length string, of any number of elements, of any length elements are ok as input. The char function can then be used to recover the individual elements of the cell-array output.

Tested with the Student version of Matlab 5.

引用格式

David Malicky (2026). str2strs.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/242-str2strs-m), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: rsplit

类别

Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息

标签

添加标签

Add the first tag.

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0