Livelink for MATLAB/COMSOL mphimage2geom help?
Show older comments
I'm trying to take an image from MATLAB and turn it into a geometry in COMSOL. I'm able to get the image into MATLAB just fine, but can't figure out how to turn it into a geometry for a COMSOL model. It sounds like mphimage2geom should work, but I keep getting error messages.
The syntax I've been trying to use is:
model=mphimage2geom(imagedata, level,...)
I'm assuming "imagedata" should just be the variable I have my image saved as, but I don't know what "level" corresponds to.
Any help would be very much appreciated. Thank you.
1 Comment
Jiawei
on 28 Sep 2020
level = C means a slice to the image with contour value C
Answers (0)
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!