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.

Export data as .mat file

Please login with a confirmed email address before reporting spam

Is there any way of exporting data as a .mat file?
I am trying to export the electric field data of a sytem into matlab. So far, I have been exporting as a spreadsheet, and it organizes the data in columns x, y, E. This is inconvenient as the x and y vectors are unordered and it makes indexing very tricky. I simply want to organize E as a 2D matrix so I can know E for all space and integrate over certain regions. I am told an easier way is to export the data as a .mat file, which allows one to call the variable E while knowing its position in space, but I can't figure out how to do that.

0 Replies Last Post 2014年2月21日 GMT-5 17:09
COMSOL Moderator

Hello Justin Isaac

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.

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.