Retrieving Dataset Information
The result node of a model may have several datasets of different types. To get the information of the dataset use the function mphdatasetinfo as in the command below:
ds = mphdatasetinfo(model,<dsettag>)
where <dsettag> is the tag of the dataset to get the information. ds is a struct with the following field:
tag, the tag of the dataset (which correspond to dsettag).
label, the label of the dataset.
type, the dataset type.
sol, the solver sequence where the data comes from.
parentdataset, the parent dataset. If a join dataset is encountered only the two parent datasets of the join dataset are included.
parenttypes, the types of the parent datasets.
selection, the entity selection set in the dataset (if the entire geometry is not selected).
In case you want to visualize the domain where dataset is defined you can use mphdataset to plot the dataset in a MATLAB figure:
ds = mphdataset(model,<dsettag>)
where <dsettag> is the tag of the dataset.