Plotting .mat file in brainstorm - urgent

Hello. I’m new to brainstorm. I’m trying to import a raw file which has 3D coordinates of brain sensors, their orientations, their labels (i.e their serial number) and the sensor type (magnetometer/gradiometer), all stored in different variables. I’ve to plot the coordinates and marks their labels and sensor type using brainstorm but it neither accepts the .mat file in ‘FieldTrip’ nor in ‘SPM’. What do I do? Its really important and urgent so I’d really appreciate if anybody could give me any suggestions or idea as to how I can plot my .mat file

One way to make this work would be that you follow the main Brainstorm tutorial up to the point of reviewing raw data: this will create a brainstorm channel file, which is a Matlab file with specific variable names for channel types, locations etc. You could then use this file structure to write your channel data accordingly and import back into Brainstorm using the File > Import from Matlab contextual menu.

Hope this helps,

Thank you so much for your suggestion Sylvain! Can you tell till which tutorial point should I read on? Also I'm having a little trouble finding the 'Import from Matlab' option in File contextual menu. Can you help with that too?

You can follow Tutorial sections 1-4. when the channel file appears in your database, you can then duplicate it and substitute its contents with the specs of your own channel array using the File>Export to Matlab, then File>Import to Matlab contextual menus that are available when right-clicking the channel file. If your data is EEG, there are EEG tutorials further below that page, with demo EEG data available from Brainstorm’s download page.