Hello,
Happy New Year!
I am encountering this error while attempting to load an EEG signal .mat file, and I would appreciate your guidance on the matter (Error: Line 56: in_data_fieldtrip
** This file is not a valid FieldTrip recordings structure (timelocked or raw).
** Missing fields: "time", "label", "avg" or "trial".
**
** Call stack:
** >in_data_fieldtrip.m at 56
** >in_fopen.m at 215
** >import_raw.m at 132
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_raw,,,iSubject) at 674)
Could you please assist me in resolving this error?
How are you loading this data? What is the origin and format of the data?
It seems that you are selecting FieldTrip data from the list, but the format is not correct.
Thank you for your prompt response. I successfully loaded data with a size of 6420480. However, when attempting to load a signal with dimensions of 3064*20480, the program fails to process it and ends up loading a significant number of trials through brainstorm.
Could you please clarify if it is not possible to load 30 trials directly, or should I average the data beforehand?
I apologize for the mistakes in my previous communication; I meant to refer to 64 channels and 20,480 samples (64 * 20480).
I have a question regarding loading 30 trials of this signal. I am encountering difficulties loading only the desired number of trials, as many files seem to be loading instead of the intended 30 trials As indicated in the figure above. (30 * 64 * 20480)
Could you please assist me in resolving this issue? Your guidance would be greatly appreciated.
I am currently encountering an issue while uploading EEG signal files saved in .mat format. When I attempt to upload all trials using options 1 (Review raw file) or 2 (Import MEG/EEG), the process becomes problematic. Specifically, when loading a signal with 30 trials (30 * 64 * 20480), an excessive number of files are uploaded, causing the program to fail to stop as intended.
What is the content of this MatFile, and how many files are in the folder?
It seems that Brainstorm sees multiple files in that folder, and they are all loaded.
Can you share one file so I can check it?
It seems that you already have 30 trials inside each file.
You need to divide it into 30 separate files with nChannels x nTimes in order to import it correctly.