Converts a struct intoa char string and, if needed, display the string. The function allows exportin
2,3K descargas
Actualizado 16 may 2007

Ver licencia

Nota del editor: This file was selected as MATLAB Central Pick of the Week

STRUCT2STR - Converts a struct into a char string and optionally display its pairs of field names and field values in a list box.
The rows of the list box visualizing the fields can be individually selected, and the corresponding fields can be copied to the clipboard.
In this way, this function can be used to paste significant fields of a struct to a plain text file, for documentation purposes.
By displaying the obtained char string we get a similar output as the one generated by the Matlab built-in function DISP, when called on
the original struct.

Citar como

Marco Cococcioni (2024). STRUCT2STR (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Más información sobre Data Type Conversion en Help Center y MATLAB Answers.

Inspiración para: struct2str recursive

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión