Issues with macOS High Sierra package toolbox: Aardvark connection
1 次查看(过去 30 天)
显示 更早的评论
I have successfully been using the Matlab 2017b with package toolbox in macOS Sierra. I just upgraded to macOS High Sierra and now when I run the following:
>> i2c = i2c('aardvark',0,0);
>> fopen(i2c);
Error using i2c/fopen (line 82)
Unsuccessful open: Cannot connect to the device. Possible reasons are the device is in use or not available. Use
INSTRFIND to determine if any instances of open connections to the requested device exist in this instance of
MATLAB.
>> instrfind
I2C Object : I2C-0-34h
Communication Settings
BoardIndex 0
BoardSerial 0
BitRate: 100 kHz
RemoteAddress: 34h
Vendor: Aardvark
Communication State
Status: closed
RecordStatus: off
Read/Write State
TransferStatus: idle
So the Aardvark adapter is found, but Matlab cannot seem to communicate with it.
I see that I have a symbolic link in /usr/lib/aardvark.so to ~/Documents/MATLAB/SupportPackages/R2017b/toolbox/instrument/supportpackages/aardvark/driver/maci64/aardvark.so
How do I get this to work again?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!