Postgres View Function In Matlab Example Code In C