I want to test my own source inversion method. Following the tutorial, I need to copy the provided source structure files and replace their amplitude attributes with my own solution via the Brainstorm (BST) app's interface. However, manually copying the files is quite time-consuming.
I would like to write my own script to automate this: copying the structure files from a specified directory in MATLAB, modifying their content, and then reloading them into the BST application. Is there a way to achieve this workflow?