Thread: [GENERAL] Connecting matlab with postgresql

[GENERAL] Connecting matlab with postgresql

From
Ilya Roublev
Date:
Hi,

You could use PgMex (http://pgmex.alliedtesting.com/) - high-performance PostgreSQL client library for Matlab that enables a Matlab-based application to communicate with PostgreSQL database in the Matlab native way by passing data in a form of matrices, multi-dimensional arrays and structures. The library is written in pure C which gives a significant performance boost for both small and data-heavy database requests. Both Windows and Linux platforms are supported.

And PgMex does that much faster and for essentially greater volumes of data than Matlab Database Toolbox. For comparison of their performance see here: https://alliedtesting.github.io/pgmex-blog/2017/06/06/performance-comparison-of-postgresql-connectors-in-matlab-part-I/

Ilya