strrepx
Version 1.0.0.0 (501 octets) par
Mathias Benedek
Replace string with another in any location of a mixed cell/struct - data structure
1K téléchargements
Mise à jour
12 mars 2007
Aucune licence
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.
Citation pour cette source
Mathias Benedek (2026). strrepx (https://fr.mathworks.com/matlabcentral/fileexchange/14197-strrepx), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R14SP3
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Structures dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | Code is simplified considering the comment by B. Roossien |
