Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmclab example 'demo_mcxyz_skinvessel.m' doesn't work in my MATLAB #85

Open
binlbl opened this issue Dec 22, 2023 · 3 comments
Open

mmclab example 'demo_mcxyz_skinvessel.m' doesn't work in my MATLAB #85

binlbl opened this issue Dec 22, 2023 · 3 comments

Comments

@binlbl
Copy link

binlbl commented Dec 22, 2023

Hi, I am a newbie,
'demo_mcxyz_skinvessel.m' doesn't seem to work in my MATLAB R2022a, it says:

Error using mmclab

input mesh can not contain degenerated elements, please double check your input mesh; if
you use a widefield source, please rerun mmcsrcdomain and setting 'Expansion' option to
a larger value (default is 1)

Any suggestions? Thank you very much!

@fangq
Copy link
Owner

fangq commented Dec 22, 2023

what OS and version you are using?

@binlbl
Copy link
Author

binlbl commented Dec 22, 2023

what OS and version you are using?

Thanks, Windows 10 and I downloaded the mmclab-win-x86_64-v2023.zip, so it is 2.0.

@fangq
Copy link
Owner

fangq commented Dec 23, 2023

ok, I am able to reproduce this issue on Windows 10 (with matlab R2022a/2023b). however, it works fine on Linux using the same version of matlab, see screenshot

image

the convhull function in matlab is known to produce problematic meshes when tessellating co-planar points, such as those in the skinvessel mesh. We have encountered during the initial development of the widefield MMC, see

https://groups.google.com/g/mmc-users/c/bLvrZ0xNimE/m/yRlIF1OzAgAJ

from what we saw, matlab 2011a and newer versions had been giving stable outputs, but it appears that matlab's windows version now produces different results compared to its Linux version. I can look into some settings from our processing scripts to see if we can get around this.

if you have old version of matlab (R2018 or earlier) on windows, or have a Linux version, you can give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants