RE: Import source structure from matlab

Dear Francois;

I am trying to find the brainstorm function that imports a source structure from matlab workspace which basically does below from GUI

  • Import from Matlab: Replace the selected file with the content of a variable from the Matlab base workspace. Useful to save back in the database some structures that where exported and modified manually with the Matlab command window."

I found export matlab and its working fine to load brainstorm files to matlab workspace. Which function does the opposite?

Thank you for your guidance,
Best,
Recep

In general, to find a menu callback function from its label:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Find_interface_callback_functions

Here, this leads to db_add.m and in_matlab_var.m.

1 Like

Thank you so much!