Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
How export data using MATLAB Link?
Posted 12 nov 2013, 05:35 GMT-5 Interfacing Version 4.3a 1 Reply
Please login with a confirmed email address before reporting spam
I need information, how I can export data by vertex using MATLAB?
Before solve my problem, first I obtain information about mesh:
nElem = model.mesh('mesh1').getNumElem;
nVertex = model.mesh('mesh1').getNumVertex;
Vertex = model.mesh('mesh1').getVertex();
Elem = model.mesh( 'mesh1').getElem('tri');
After solve problem:
model.study('std1').run;
I would like to want obtain set of data (some expression) in each of these vertex.
I dont want to use the export function
model.result.export('data1').set('filename', {NameFile});
model.result.export('data1').run;
because it generates its own mesh.
Regards
Hello Antoni Adapter
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.