MATLAB: How to convert a .mat file to a .set file in MatLab

a

Hello!
I want to convert .mat file into eeglab readable format .set. Kindly guide me about the conversion method?

Best Answer

Dear Khan Muhammad Adeel Khan,
It is necessary to input the correct dimensions of the input data (such as number of samples, number of epochs) when you are using the GUI to load a .mat file. EEGLab requires a dataset to be in the format as the following: "Electrodes x Times x Trials". Before importing .mat into EEGLab, you will need to load your data files into MATLAB and use reshape or other function to format it in the correct way. More details and information can be found here:
I hope this information will be useful. Thank you.
Related Question