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 exterior boundaries using LiveLink for MATLAB

Björn Zaar Fusion plasma physics

Please login with a confirmed email address before reporting spam

Hi!

Sometimes I export the data from my models and manipulate it in MATLAB in various ways before plotting it using MATLAB's contourf. Generally, this works well, but I would like to be able to plot the exterior boundaries of my domain in my contour plot. I am currently working on a project with a somewhat complex geometry (in 2D), so the only way to accurately represent the exterior boundary would be to export it from COMSOL represented by a set of coordinates I think. Preferably in a cell array, since the boundary consists of several closed curves. Is anyone aware of a simple method to do this using LiveLink for MATLAB?

Best regards, Björn


0 Replies Last Post Aug 9, 2021, 6:08 a.m. EDT
COMSOL Moderator

Hello Björn Zaar

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.