= Writing your own processes =
Brainstorm features a flexible plug-in structure. All the operations available when using the Process1 and Process2 tabs are in fact written as plug-ins. A Brainstorm plug-in, or "process", is a single Matlab .m script that is automatically identified and added to the menus in the pipeline editor. Two folders are parsed for plug-ins:
* '''brainstorm3/toolbox/process/functions''':<
>Brainstorm "official" processes, included in the main distribution of the software
* '''$HOME/.brainstorm/process''':<
>User processes folder, to develop new processes or overwrite some default function
=== Function structure ===
User-defined processes in ~user/.brainstorm/process
Run Matlab command