avoid memory access violation in Matlab interface

that occurred when calling interface without any arguments