MATLAB: Need help with mesh boolean in Matlab.

MATLABstl

Hi I need help with implementing mesh boolean as shown in the attached figure. The mesh is in FV form.

Best Answer

I don't think there is a straight-forward function in MATLAB to do this. Please check out the following file-exchange submission. It mentions that it can perform "constructive solid geometry operations on meshes", which is same as what you are trying to achieve.
If you have any questions regarding the same, you can probably contact the author of this submission directly.