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

2 ビュー (過去 30 日間)
Emeka Udeogu
Emeka Udeogu 2021 年 6 月 9 日
編集済み: Piyush Kumar 2024 年 9 月 27 日
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.

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by