cortex-lab / Rigbox

A MATLAB toolbox for running behavioral neuroscience experiments and managing data
GNU General Public License v3.0
33 stars 16 forks source link

DAQ Session in hw.DaqRotaryEncoder should be transient #313

Open k1o0 opened 3 years ago

k1o0 commented 3 years ago

Describe the bug The DaqSession property in hw.DaqRotaryEncoder should be transient so that MATLAB does not attempt to save it. More generally the hardware file objects should be robust to saving while initialized. Currently viewing the Window class appears to cause MATLAB to crash if it was saved after initialization.