I fixed a bug in the generation of the Matlab scripts including cells in substructures:
Please update Brainstorm and try again.
@aliobaibk
Are you really expecting to copy the entire channel file in "BaselineChannels"?
This seems like data that should be passed as a reference to the channel file, not loaded first and passed in the command line.