Hi Developer of Bpod,
This is Wei. I've encountered the below error for many times. I've tried to restart the matlab before running the bpod, but it seems the error occurs randomly. Your help is highly appreciated!!!
Error: Invalid op code received
Error: Invalid op code received
Error: Invalid op code received
Error: Invalid op code received
Error using RunStateMachine
Error: Unknown event code returned: 240
Error in RunStateMatrix (line 2)
RawEvents = RunStateMachine;
Error in XXXXXXXXXX (my protocol) (line 707)
RawEvents = RunStateMatrix;
Error in run (line 91)
evalin('caller', strcat(script, ';'));
Error in NewLaunchManager>LaunchProtocol (line 779)
run(ProtocolPath);
Error while evaluating DestroyedObject Callback.