MATLAB: Stored procedures not working after upgrading to a recent release of MATLAB

databaseDatabase Toolboxjdbcnativeodbcr2017aversion

I upgraded from an earlier release of MATLAB to a more recent release (R2017a+), but now my stored procedures are returning nothing, even though normal queries work fine.
I am successfully connecting to my ODBC database with a JDBC/ODBC driver using
conn = database(datasource,username,password)

Best Answer

Before R2017a, the "database" function used the JDBC/ODBC bridge by default. From R2017a and onward, the "database" function uses native ODBC.
By upgrading releases, it is likely that the JDBC/ODBC driver was incorrectly integrated into MATLAB. The recommended solution is to use a JDBC or ODBC driver rather than a JDBC/ODBC driver to connect to the database.