Both my Brainstorm and mff plugin are updated to the latest version, and I am now getting this error when I try to import EGI-Phillips files. Java Heap Memory is at the highest value on Matlab.
I tried uninstalling and reinstalling Brainstorm but that was unsuccessful.
Thank you!
ETA: after a second attempt to load the file I am now getting a different error:
Error: Line 46: javaObject
** No class com.egi.services.mff.api.LocalMFFFactoryDelegate can be located on the Java class path
**
** Call stack:
** >mff_importsignal.m at 46
** >mff_import.m at 95
** >in_fopen_mff.m at 43
** >in_fopen.m at 121
** >import_raw.m at 132
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_raw,[],[],iSubject) at 677
**
It seems it is an error loading the classes for the MFF plugin.
Can you provide more information on your system? (OS name and type, Matlab version, Java version, etc)
You can get this info within the main Brainstorm window with the menu Help > System info
Brainstorm:
Version: 3.241008
Release: 241008
Variant: Source
Plugins: openmeeg mff
Matlab version: R2023b (23.02)
Java version: 11
OS name: macOS 14.5 (arm64)
OS type: mac64arm
Mem total: 8192 MiB
Mem avail: 2785 MiB
Thank you!
Thank you for the information @evansdc0,
It seems the issue is the Java version that is being used. Brainstorm and this plugin require to use Java 1.8 (aka JDK8). See this post in how to install JDK8, and change the Matlab configuration to use it by default:
You can check the Java version that is being used in Matlab with the command:
>> version -java
These instructions worked and I can now import my files - thank you!