Struct String Replace
Versión 1.0.0.0 (1,57 KB) por
Ross Hatton
Replace strings in nested structure and cell arrays.
This function recursively traverses an arbitrarily deeply nested set of structure and cell arrays, finds all instances of a given string, and replaces it with a new string.
Beyond any simple text operations, this function is useful for updating a set of pathnames stored within a large structure if the associated files are relocated.
Citar como
Ross Hatton (2024). Struct String Replace (https://www.mathworks.com/matlabcentral/fileexchange/27858-struct-string-replace), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Data Types > Structures >
Más información sobre Characters and Strings en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |