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.

Exporting 3D plot data to .mat or .csv file

Please login with a confirmed email address before reporting spam

Hi guys, I want to export 3D plot data into .mat file (or anotehr numeric file).

I have this surface potential map in comsol.

Basically I need to know the value of electric potential in each place on surface in every time step of the simulation.

Can you help?

Thank you very much.



1 Reply Last Post 13.03.2024, 08:32 GMT-4
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 months ago 13.03.2024, 08:32 GMT-4

You can use a Plot export feature for this purpose. You can create it in two ways:

  • Go to Results > Export and create it from the context menu.

  • Go to the plot and choose Add Plot Data to Export from the context menu.

It's possible to export to a .csv-file but not to a .mat-file.

You can use a Plot export feature for this purpose. You can create it in two ways: * Go to Results > Export and create it from the context menu. * Go to the plot and choose Add Plot Data to Export from the context menu. It's possible to export to a .csv-file but not to a .mat-file.

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.