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