Access to the Brainstorm Codes

I want to generate .m-file of all these processes shown in the picture in order to plot sources. How I can do that without set the parameters manually?