Hello BST forum,
I started to use brainstorm about one month ago. I worked without problem in anything, successfully computing envelope correlation NxN [2023] with YEO-17 in my protocol including 100 subjects. But after this update several days ago, I tried to do the same operation then came into two errors:
Problem finding the correct linked file for Subject04853/sub-88004853_ses-1_task-restEO_eeg/data__resampled_pruned_with_ICA_-2-s_epochs(_1).mat
Line 262: Brace indexing is not supported for variables of this type.
I hadn't adjusted this protocol for about three weeks, nothing in it changed. Then I tried the same operation on another dataset and properly finished the computation. I thought something becoming different in file indexing with this update, but I couldn't figure out it exactly. Can anyone explain it to me? Waiting anxiously.
Surprisingly it works properly, l can view the data both in channels and source space, with the same file being announced not possible to identify in the error report. This really confused me.
after many check, I found the most reasonable cause for my problem was my matlab toolbox conflict. I reinstalled matlab 2020a for another software's requirements(though it failed either) about ten days ago, just in the period when I left brainstorm data untouched. I used same data and operation on another computer and everything is fine. As I can't give up Parallel toolbox in matlab, I supposed the only choice for me is to uninstall my matlab completely and use another version with no confilcts in toolboxs. I will report following situations after I realize my hypothesis.
I finally installed another matlab (2022a)and reset brainstorm, and succeeded in computing envelope correlation. BUT,I figured out everything only worked properly without checking 'flatten unconstrained source orientations with pca first'"(though I used unconstrained source actually). the result seemed right: