Lumerical supports several different types of variables which can contain data in different forms. Available data types are:
Strings which contain text data.
Matrices with elements containing numbers.
Cell arrays with elements containing any data type (eg. string, matrix, dataset, or a combination).
For more information, see https://kb.lumerical.com/en/index.html?ref_scripts_cell.html
Structs which are unstructured containers with elements that can contain any data type. Unlike cell arrays, elements are named, so they can be referred to by name rather than by element number.
For more information, see https://kb.lumerical.com/en/index.html?ref_scripts_struct.html
Datasets which are structured data objects that collect a set of related matrices into one object, such as properties with their associated attributes (eg. a matrix containing reflection for different wavelengths, and a vector of the corresponding wavelengths). This is typically the form of the data which is returned as results by monitors.
Depending on the type of property contained the dataset, they are characterized as matrix, rectilinear, or unstructured type datasets
For more information, see https://kb.lumerical.com/en/index.html?ref_scripts_datasets.html
In the Result View window or Script Workspace window, you can identify the type of variable is by looking at the icon next to the variable name: