I have a structure which is attached with this file named as 'shape.mat'. The structure contains the following fields: Geometry Boundary X Y…etc Now i want to separate X and Y field from the structure and store it in a cell named x_constraint and y_constraint respectively. Can it be done?
MATLAB: How to separate the field from a structure in MATLAB
cell arraycell arraysMATLABnonscalar structurestructures
Related Question
- Remove field from structure nested in a cell array
- Error using fprintf Function is not defined for ‘struct’ inputs
- Empty cell array value lost when passed to a function as a part of an anonymous structure
- Cell Array to Structures
- Array of structures in matlab
- Convert a vector into a structure array field
- Create struct with nx1 dimension
Best Answer