Updated MEM in Windows crashes

Hi Everyone

I’m using maximum entropy on the mean to analyze ictal patterns. I’ve been working on this for a few weeks, but today the plugin updated, and now when I try to repeat the analysis Matlab throws an error. I put the traceback log below. I’m wondering if anyone else has seen this as well, or if it’s likely something I’m doing wrong here. I’m running Matlab 2024b on Windows 11.

Thanks

Ben

===== pipeline cMEM
cMEM, be_main_leadfields ... done.
Unrecognized field name "normalization".

Error in be_normalize_and_units (line 55)
if strcmp(OPTIONS.optional.normalization,'adaptive') || strcmp(OPTIONS.mandatory.pipeline, 'cMEM')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in be_cmem_solver (line 123)
[OPTIONS, obj] = be_normalize_and_units(obj, OPTIONS);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in be_main (line 89)
[Results, OPTIONS] = be_cmem_solver(obj, OPTIONS);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in process_inverse_mem>Compute (line 223)
[Results, OPTIONS] = be_main(HeadModel, OPTIONS);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in process_inverse_mem (line 25)
eval(macro_method);

1 Like

Hello,

Thanks a lot for the report. The issue should now be fixed ([bugfix] correctly load the pipeline options by Edouard2laire · Pull Request #50 · multifunkim/best-brainstorm · GitHub). Please update the plugin and try again.

Regards

Edouard