Postgres Create Function In Matlab