You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Ross Hatton (2026). Struct String Replace (https://www.mathworks.com/matlabcentral/fileexchange/27858-struct-string-replace), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.57 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
