Setup/Configure a DSN-less database without the Database Toolbox GUI MATLAB R2018b

Risposte (1)

There is a function odbc, introduced in R2021a which allows us to create a connection to a database using a DSN-less connection string. (DSN is a data source name.)
Please check this page for some examples - https://www.mathworks.com/help/database/ug/odbc.html#d126e39668
Since you are using R2018b, you must upgrade the MATLAB version to use this function.

Prodotti

Release

R2018b

Richiesto:

il 9 Giu 2021

Modificato:

il 27 Set 2024

Community Treasure Hunt

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

Start Hunting!

Translated by