Extracting Data From Evaluation Groups and Tables
In Evaluation Groups and Table nodes you can store the data evaluated with the COMSOL Multiphysics built-in evaluation method (see The Numerical Node Syntax).
Use mphtable to extract the data stored in the table with the tag <tbltag>. Enter:
tabl = mphtable(model,<tbltag>)
The same syntax is used for evaluating and extracting data from Evaluation Groups:
data = mphtable(model,<evgrouptag>)
This creates a structure that contains the following fields:
headers for the table,
tag of the table,
data of the extracted table, and
filename when the table is exported to file.