Postgres View Function In Matlab Script