Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Evaluating Global Expressions in MATLAB
Posted Oct 27, 2009, 3:38 PM EDT 4 Replies
Please login with a confirmed email address before reporting spam
I have set up a series of Global Expressions in my model through the COMSOL GUI. I now solve the model through MATLAB and would like to evaluate the Global expressions.
The problem is I cannot find the function to do this? From the documentation it would seem postglobaleval is my best bet:
??? Error using ==> postglobaleval at 70
Expression must be a cell array.
I have also tried
p: [3x28840 double]
t: [4x38934 double]
q: [8x0 double]
d: [1x28840 double]
elind: [1x28840 double]
but then I am unsure of where to go from here? I have read this, but it confuses me greatly
The output is post data, a structure with fields p, t, q, d, and elind. The field p contains node point coordinate information. The number of rows in p is the number of space dimensions. The field t contains the indices to columns in p of a simplex mesh (each column in t represents a simplex). The field q contains the indices to columns in p of a quadrilateral mesh, with each column in q representing a quadrilateral. The field d contains data values. The columns in d correspond to node point coordinates in columns in p.
Any assistance would be greatly appreciated.