demo of SDK for Matlab