extend matlab interface