No BSD License
Highlights from
strrepx
strrepx
by Mathias Benedek
08 Mar 2007
(Updated 12 Mar 2007)
Replace string with another in any location of a mixed cell/struct - data structure
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 09 Mar 2007 |
B. Roossien
|
|
|
| Updates |
| 12 Mar 2007 |
Code is simplified considering the comment by B. Roossien |
|
Contact us at files@mathworks.com