Struct String Replace
Versione 1.0.0.0 (1,57 KB) da
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.
Cita come
Ross Hatton (2024). Struct String Replace (https://www.mathworks.com/matlabcentral/fileexchange/27858-struct-string-replace), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Data Types > Structures >
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |