Implementation of AD Instruments SDK in Matlab