Closed aweinert-MIT closed 2 years ago
Bug was resolved by compiling the run_dynamics_fast
mex function from em-core
without the -g
flag. Specifically, line 14 was used by em-core/matlab/RUN_mex.m
. Documentation will need to be updated (see /em-core/issues/7).
Description
MATLAB crashes when running the script
RUN_uncor
. As part of the initial setup, theRUN_mex
script from em-core successfully ran. Prior to executingRUN_uncor
thestartup_bayes
script is ran. However there are issues with setting persistent system environment variables and path variables were set usingsetenv
instead in MATLAB.I did set up the environment variables on my computer but I was still having issues fetching them from MATLAB so I did a programmatic workaround (setenv) on MATLAB
Reproducibility
@aweinert-MIT cannot reproduce on their windows machine.
Expectation
Stop MATLAB from crashing.
Recency
Commit #c6258f8 for em-core and commit #e47fc0a for em-model-manned-bayes repository
Files
Script crashes prior to using the
run_dynamics_fast
mex function in thetrack
method of theUncorEncounterModel
classEnvironment
Screenshots
Include screenshots and animated GIFs which show you following the described steps and clearly demonstrate the problem. You can use this tool to record GIFs on macOS and Windows, and this tool or this tool on Linux.
Additional context
Issue first reported by @lydiaZeleke after email with @aweinert-MIT summarizing the issue when creating this bug report