sccn / amica

Code for AMICA: Adaptive Mixture ICA with shared components
BSD 2-Clause "Simplified" License
23 stars 13 forks source link

From EEGLABLIST "Reference to non-existent field 'W'. #22

Open arnodelorme opened 4 years ago

arnodelorme commented 4 years ago

Dear all,

I am in urgent need for helping me out find what the issue with AMICA. EEGLAB v2019.1 the plugin amica1.5.1 already has the following files (amica15mkl.exe, eeg_loadamica.m, eegplugin_amica.m, loadmodout15.m, pop_runamica.m and runamica15.m). The mpich2-1.4-win-x86-64.msi and 32 is already inside the file

I have the following output

"Reference to non-existent field 'W'.

Error in runamica15 (line 892) weights = mods.W(:,:,1);

Error in pop_runamica (line 239) [W,S,mods] = runamica15(datfile,arglist{:});

Error while evaluating Menu Callback."

Would you please try to clarify simly what should I do. Also, I found the same issue with someone and one of the answers to make sure with the correct path. what path should I change? in the popupwindow there is in file: xxxxxxxxxxxxxxx outdirectory:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Could you please verify what should be inside? kindly notice I am using 64 bit windows 10

FrancescoMatarazzo commented 4 years ago

Hi, he gave me the same mistake. I solved it by removing all possible spaces in the path where the function is called. For example in my case initially I had this path: "C:\Users\Francesco\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\eeglab2019\plugins\amica1.5" I changed it to this one (reloading EEGLAB in matlab): "C:\Users\Francesco\AppData\Roaming\MathWorks\MATLABAddOns\Toolboxes\eeglab2019\plugins\amica1.5" and now it works. I don't know if I was any help