STRUCT2STR
by Marco Cococcioni
16 May 2007
(Updated 16 May 2007)
Converts a struct intoa char string and, if needed, display the string. The function allows exportin
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
This submission has inspired the following:
struct2str recursive
|
| MATLAB release |
MATLAB 7.3 (R2006b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 13 Jul 2007 |
Ben Travaglione
|
|
|
|
Contact us at files@mathworks.com