MATLAB Answers

Is the Database Toolbox required for any MATLAB runtime connection to a database?

8 views (last 30 days)
Clay Wyrrick
Clay Wyrrick on 23 Jan 2020
Answered: Andrew Janke on 31 Jan 2020
Hi,
I am writing a deployable APP that imports data from an sqlite database file. Currently, I am packaging the APP for deployment and needing to understand the requirements.
My question: Is the Database Toolbox required for any MATLAB runtime connection to a database? If not, what database connection functions are independant of Database Toolbox installation and what functions require Database Toolbox installation?
My understanding is that the Database Toolbox is a purchased APP. Right now, I have access as the trial version. If I create a stand alone executable that uses a JDBC connection or MATLAB interface to SQLite, will there be Database Toolbox access authorization issues upon deployment?

Answers (1)

Andrew Janke
Andrew Janke on 31 Jan 2020
Yes, the Database Toolbox is required for database access from Matlab, unless you write your own custom replacement for it that uses JDBC or ODBC directly. (Which may be a violation of the Non-Compete clause of the Matlab license; check with your lawyer.) Any Matlab runtime connection to a DB is going to break if you don't have the Database Toolbox.

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!