strrepx

版本 1.0.0.0 (501 字节) 作者: Mathias Benedek
Replace string with another in any location of a mixed cell/struct - data structure
1.0K 次下载
更新时间 2007/3/12

无许可证

v = STRREPX(v,s1,s2) replaces all occurrences of the string s1 in the data structure v with the string s2. The new data structure is returned.

It recursively searches all cells and fields of the data structure v for strings and applies the MATLAB function strrep on them.

Useful e.g. for adapting SPM Batch data structures.

引用格式

Mathias Benedek (2024). strrepx (https://www.mathworks.com/matlabcentral/fileexchange/14197-strrepx), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Code is simplified considering the comment by B. Roossien