Hello,
I am trying to use the AD2 with MATLAB R2022b on an M1 Pro MacBook Pro with Mac OS 12.6
Using a library provided by my professor, I should get a confirmation, that the connection has been established. I, however get an error message.
The code I ran is as follows:
and it should return the device ID.
Both the AD2Init() function as well as the error message in the command window are attached.
Thank you in advance for any help.
Error message.pdf
AD2Init.m