Dear Brainstorm team,
I ran into a small issue when using process_export_file to export a single file (time‑frequency/connectivity matrix) via scripting. I called the process like this (in my script):
bst_process('CallProcess', 'process_export_file', sFilesPCorr, , ...
'exporttimefreq', {fullfile(savedir, 'P_all.csv'), 'ASCII-CSV-HDR'});
where sFilesPCorr contains one file (a .mat file of Pearson correlation connectivity matrix). And the error message is:
** Error: [process_export_file] File > Export to file
** Line 139: error using isequal
** Not enough input arguments.
**
** Call stack:
** >process_export_file.m>Run at 139
** >process_export_file.m at 27
** >bst_process.m>Run at 236
** ...
I guess isequal expects at least two arguments but there is only one file. When I roll back to older version (260601), the file could be saved without any error. I would really appreciate it if you could help me look into this.
Yours,
Jiameng