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

mcxcl.mexw64 crash on debuglevel = 'M' #46

Closed
bradday4 opened this issue Sep 27, 2018 · 3 comments
Closed

mcxcl.mexw64 crash on debuglevel = 'M' #46

bradday4 opened this issue Sep 27, 2018 · 3 comments

Comments

@bradday4
Copy link

Matlab crashes when attempting to execute the mcxcl mex function when the debug level is set to 'M'. I am attempting to retrieve the photon trajectories and it is my understanding from the documentation that in order to do so the debug level must first be set to 'M'.

This is the line of code that calls the mcxlabcl function
[fluxs,detps,vol,seed,trajectory]=mcxlabcl(cfgs(2),'mcxcl');

I've attached the matlab dump file here.
I'm using the 09/26/2018 nightly build of MCXStudio for Windows.
matlab_crash_dump.17332-1.txt

@fangq
Copy link
Owner

fangq commented Sep 27, 2018

outputting trajectory data is not yet ported to mcxcl. however, it should not crash.
it is now fixed in mcxcl (unfortunately, you reported this issue in mcx's repository), see below commit

fangq/mcxcl@0d7e54b

I am recompiling mcxcl nightly build for windows, please redownload mcxlabcl and test this feature again.

@fangq fangq closed this as completed Sep 27, 2018
@bradday4
Copy link
Author

bradday4 commented Sep 27, 2018 via email

@fangq
Copy link
Owner

fangq commented Sep 27, 2018

feel free to send me questions by email. if it worth documenting, you may also post it here.

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