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 to Export the material data to .mphtxt file?

Please login with a confirmed email address before reporting spam

I am trying to export the data from Comsol. I could get the mesh data if I click the 'mesh export'.
But I also need the material data for each mesh cell (tetrahedron). Since I cannot link the Comsol with Matlab, I was wondering if I could export the material data to .mphtxt file or something I could read it by some codes in Matlab.
By the way, my Comsol is 4.3a.
Thank you in advance.

haozhan

1 Reply Last Post 12 dic 2013, 04:32 GMT-5
Bettina Schieche COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12 dic 2013, 04:32 GMT-5
Dear Haozhan,

by right-clicking "Results > Export" you can choose "Data" and export any expression (material data, derived values, geometry, mesh, solver information). The resulting text files can be read by MATLAB.

Best regards
Bettina Schieche
Dear Haozhan, by right-clicking "Results > Export" you can choose "Data" and export any expression (material data, derived values, geometry, mesh, solver information). The resulting text files can be read by MATLAB. Best regards Bettina Schieche

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.