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 add 2D image from MATLAB to COMSOL as a geometry?
Posted Dec 12, 2018, 2:27 p.m. EST Low-Frequency Electromagnetics, LiveLink for MATLAB 2 Replies
Please login with a confirmed email address before reporting spam
Hi all,
I have an 2D image with a size of 512x512. It's a section image from a CT image as DICOM. I converted it to .mat file by using dicomread() function in MATLAB. After that i want to import it as a geometry to a 2D empty model in COMSOL. Is there any method to do it?
BTW i solved the problem by converting DICOM file to .DXF to add as geometry. But I wonder can i convert 2D image .mat file to stl or another format suitable for importing to Comsol geometry?