Hello,
I wrote a script to analyze trial data saved from Brainstorm in SPM (.mat/.dat) format. The script tries to read the data with the Matlab 'load' command.
Sometimes it works, sometimes it doesn't and I get:
Warning: Class 'file_array' is an unknown object class or does not have a valid 'loadobj' method. Element(s) of this class in array 'D' have been converted to structures.
I guess it works when the class file_array from SPM has been imported by some operation in the latest Brainstorm session, but I haven't figured out the magic. Just starting Brainstorm is not sufficient. I searched the code to try to identify where it happens but I haven't figured out.
Any idea where to look (other than the SPM manual)?
Alain