Error: Report for saving single file using process_export_file

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

Thank you @xqptw for the heads-up, this is now solved in Commit 172a5ac

Please update your Brainstorm instance to 04-Aug-2026 to get the fix.

This was introduced when addressing this post:

Thank you so much for that quick fix!