Mysql User Defined Functions Matlab