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

Please how do I setup a DSN-less database connection without using the Database Toolbox GUI on MATLAB R2018b?

답변 (1개)

Piyush Kumar
Piyush Kumar 2024년 9월 27일
편집: Piyush Kumar 2024년 9월 27일
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.

카테고리

제품

릴리스

R2018b

질문:

2021년 6월 9일

편집:

2024년 9월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by