フィルターのクリア

Using the Native ODBC Database Connection

1 回表示 (過去 30 日間)
Kiran Math
Kiran Math 2014 年 8 月 19 日
コメント済み: Geoff Hayes 2014 年 8 月 19 日
When I try to connect to sql server using Native ODBC Database connection - We get the following error
conn= database.ODBCConnection('matsql','xxx','yyy') Undefined variable "database" or class "database.ODBCConnection"
When I try to connect thru Database Explorer - We get error
conn= database('matsql','xxx','yyy')
Invalid string or Buffer length
-------------------- Matlab : 64 Bit ( Win 64) SQL Server 2014 Enterprise 64 Bit
  1 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 8 月 19 日
Kiran - do you have the Database Toolbox (see using native odbc connection)? In the Command Window type
ver
and observe your version of MATALB and all installed toolboxes.
If I try to run the same piece of code, I get the same error because I don't have this toolbox.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by