We've had a couple of problems with getting Matlab and EGI NetStation to communicate for quite some time now but were able to solve most of them.
We are now trying to send event codes from Matlab 2016a to NetStation 188.8.131.52, using the Psychtoolbox NetStation commands.
The code we are using is as follows:
[status, error] = NetStation('Connect','10.10.10.42','55513’); % 10.10.10.42 = IP address of Mac, where NetStation is installed
When we run these commands, status = 0. We receive an error when Matlab attempts to execute ‘NetStation(‘Event’,’555’). The error is:
‘Undefined function or variable ‘status’. Error in NetStation (line 280) error=nserr(status);’
We would be very grateful for any advice as to how to address this error. Please could you advise us as to what could be going wrong?
Thank you & best wishes!