In MATLAB I have a struct and only want to send a few of its children to Python. I can successfully do this via dot indexing, however, once the variables are in Python they don't seem to be accessible since the parent object doesn't exist. The work around I've used has been to create temp variable in MATLAB like EEG_times = EEG.times and send that to Python, but I was wondering if there's a better way to accomplish this. I'm not sure if this is just a MATLAB/Octave -> Python issue or if it exists elsewhere.
In MATLAB I have a struct and only want to send a few of its children to Python. I can successfully do this via dot indexing, however, once the variables are in Python they don't seem to be accessible since the parent object doesn't exist. The work around I've used has been to create temp variable in MATLAB like EEG_times = EEG.times and send that to Python, but I was wondering if there's a better way to accomplish this. I'm not sure if this is just a MATLAB/Octave -> Python issue or if it exists elsewhere.