Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 2194

How export data using MATLAB Link?

$
0
0
Hi All
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

Viewing all articles
Browse latest Browse all 2194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>