strrepx

Replace string with another in any location of a mixed cell/struct - data structure

Ahora está siguiendo esta publicación

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.

Citar como

Mathias Benedek (2026). strrepx (https://es.mathworks.com/matlabcentral/fileexchange/14197-strrepx), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0

Code is simplified considering the comment by B. Roossien