Livelink for MATLAB/COMSOL mphimage2geom help?

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

Jiawei
Jiawei 2020년 9월 28일
level = C means a slice to the image with contour value C

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2013년 9월 26일

댓글:

2020년 9월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by