Hi @tara70, you can find information about scripting in Brainstorm in this tutorial:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting
This code:
-
Exports as Matlab variables an imported recording from the Subject Subject01 and Study Test, and the HeadModel in same study.
-
It also exports as Matlab variables the Default Cortex for the Default anatomy Subject
The script will only run for the Protocol that was written for