I have a 2×1 structure with 3 fields. All the elements are numeric. I want to convert this structure into a single character vector, with each element separated by a blank space character. How can I do this?
MATLAB: How to convert a struct into a single string, with each element separated by a blank space character
MATLAB
Related Question
- Logical indexing with a structure
- Undefined function ‘cell2str’ for input arguments of type ‘cell’.
- Do I get the error “Subscripted assignment dimension mismatch” when using a cell array in a structure field
- How to get multiple outputs from SUBSREF call when accessing cell array
- Does isfield return unexpected results for a FINTS object
- Locating number from file name
- Struct contents reference from a non-struct array
- How to index into a structure/cell variable which is not yet evaluated and hence is not in the workspace
Best Answer