Jump to content
  • 0

Failure to connect MATLAB to AD2 on MacOS 12


JonasD

Question

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: 

Quote

hdwf = AD2Init();

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

still doesn't work, same error message as before, although I noticed that the standard file path for the dwf.frameworks folder is /Applications/WaveForms.app/Contents/Frameworks/dwf.framework/... instead of /Library/Frameworks/... Furthermore, I noticed that the user library (/admin/Library/.... ) does not have a Frameworks folder and only the system wide library has that. Which one should I use then? I tried the system wide one and added the path to it in the .m file

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...