Home › Forums › TrueRNG Hardware random number generator › Matlab 2016b on OSX
Tagged: Matlab, osx, serial port
Has anyone had any success using TrueRNG V2 on mac (OSX 10.12) with Matlab? I can’t figure out how to get Matlab to recognize the port:
Serial Port Object : Serial-/dev/TrueRNG
Communication Settings Port: /dev/TrueRNG BaudRate: 9600 Terminator: ‘LF’
Communication State Status: closed RecordStatus: off
Read/Write State TransferStatus: idle BytesAvailable: 0 ValuesReceived: 0 ValuesSent: 0
Just for future reference, I believe this was solved by using Matt’s matlab script (here) and the line ‘-Dgnu.io.rxtx.SerialPorts=/dev/TrueRNG’, changing it to /dev/cu.usbmodem
Log in / Register