Struct String Replace

Replace strings in nested structure and cell arrays.
653 Downloads
Aktualisiert 9. Jun 2010

Lizenz anzeigen

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.

Zitieren als

Ross Hatton (2024). Struct String Replace (https://www.mathworks.com/matlabcentral/fileexchange/27858-struct-string-replace), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0