Brainstorm error whenever importing EEG data

Hi, whenever I try to import given EEG data file in brainstorm I get this error:

Error: Line 185: Expected one output from a curly brace or dot indexing expression, but there were 257 results.
**
** Call stack:
** >in_fopen.m at 185
** >in_data.m at 487
** >import_data.m at 200
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_data,[],[],[],iStudy,iSubject) at 637

Does anyone know how to fix this issue?

Hi zarathustra,

in_fopen at line 185 is triggered when the file extension is unknown or maybe there are multiple file extensions, are you trying to load in multiple files at once with different extensions?

Kind regards,
Steven

Thank you for reply Sbeumer!

It seems that I am trying to upload a single .mat file with EEG data on it.
I have freshly installed both MatLab and Brainstorm, however the same issue seems to occur. In addition to that, when I was downloading MatLab I have only installed the default MatLab package. Could this be the issue?
I'm also running MacOS Catalina, if that is important.
Here's the screenshot of the error:

Hi Zarathustra,

The default Matlab package should not be an issue, there are some advanced filter and signal processing things that need extra packages. Unfortunately my knowledge stops here, so maybe it is better if someone else takes over here. My apologies.

Kind regards,
Steven

If you have downloaded Brainstorm on Thursday, you caught a very fresh fresh bug that I introduced on Wednesday when reading epoched FieldTrip files:
https://github.com/brainstorm-tools/brainstorm3/commit/1499c1dd8ae8ae00b2bb28b31a20fba764fe1678

I've just fixed it, update Brainstorm (menu Update > Update Brainstorm to get it):
https://github.com/brainstorm-tools/brainstorm3/commit/cd71fd5e822ad2e26ed2fe1ba2e5275964640df6

If you're a new Brainstorm user, we'd recommend you go first through all the introduction tutorials in the section "Get started", using the example dataset, before trying to process your own files. You would save a lot of time on the long term, and would probably learn a lot of useful things:
https://neuroimage.usc.edu/brainstorm/Tutorials