Create a structure from a string
Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
This function creates a structure from string containing <name> <value> pairs.
Structure member must be separated by ';' or end-of-lines.
The member assignation can be specified with spaces, '=' and ':'
input arguments:
string: string from which the structure should be extracted. It can
also be a file name, which is then read.
output variables:
s: structure which contains the named values
example:
>> str=str2struct('Temperature: 200; RV=3; comment something nice');
str =
Temperature: 200
RV: 3
comment: 'something nice'
Cita come
Emmanuel Farhi (2026). str2struct (https://it.mathworks.com/matlabcentral/fileexchange/59176-str2struct), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0.2 (2,67 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
