myDynamicClass
MDC = MYDYNAMICCLASS(TEXTFILE) will create a set of class from TEXTFILE.
The file must be delimited by white spaces so for text use underscores. Do not use quotes anywhere.
The first line should begin with the Class name followed by a list of the Fields.
Each subsequent line should begin with the Member followed by the values for each of the Fields.
myDynamicClass will convert strings to numbers; and may read in arrays if they entered as strings and use commas instead of spaces.
MDC = MYDYNAMICCLASS(TEXTFILE,FORMAT) creates the file using a FORMAT string that conforms to the standard MATLAB textscan notation.
Citation pour cette source
Mark Mikofski (2026). myDynamicClass (https://fr.mathworks.com/matlabcentral/fileexchange/35404-mydynamicclass), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
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 |
