Data structures
The Data Structures module provides tools for creating, manipulating, and inspecting arrays, cells, and structures in Nelson.
It enables conversion between different data formats, access and modification of fields, application of functions to array elements, and organization of structured data.
This module facilitates flexible handling of complex data, supporting both programmatic operations and dynamic data management.
Functions
arrayfun - Apply a function to each element of an array.
cell - Create cell array of empty matrices.
cell2mat - Transform a cell array containing matrices into a single, concatenated matrix.
cell2struct - Creates a struct from a cell.
celldisp - Display cell array contents.
cellfun - Evaluates an function on a cell.
cellstr - Converts to cell of character array.
fieldnames - Returns field names of a structure or an handle.
getfield - Returns value of a field in a struct.
iscellstr - Returns if a variable is a cell of strings.
isfield - Checks if a fieldname exists in a struct.
namedargs2cell - Converts a struct containing name-value pairs to a cell.
num2cell - Convert array to cell array with consistently sized cells.
orderfields - Reorganize the fields of a structured array.
renameStructField - Rename field names of a struct or struct array.
rmfield - Remove fields from structure.
setfield - Set structure field contents.
struct - Creates a struct.
struct2cell - Creates a cell from a structure.
Last updated
Was this helpful?