Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2012-12-04
帖子: 1
声望力: 0 ![]() |
![]()
>??? Undefined function or method 'database' for input arguments of type 'char'
>我已經去下載database函數庫丟進toolbox了,還是跑出這一條, >用exist驗證database也都是顯示0 >連結的語法如下 >conn = database('DB','user','pwd', ... >'com.microsoft.sqlserver.jdbc.SQLServerDriver', ... >'jdbc:sqlserver://127.0.0.1:1433;databaseName=DB'); >請問要如何才能使用database這個函數呢? 之前的問題已爬文解決 database是可以用了,但是出現下列錯誤: ??? Undefined variable "com" or class "com.mathworks.toolbox.database.databaseConnect". Error in ==> database.database at 90 conn=com.mathworks.toolbox.database.databaseConnect(instance,UserName,Password,Driver,URL); Error in ==> SQLServerTest at 15 conn=database(db,username,password, ... 請問怎麼解決呢? 此帖于 2012-12-04 20:34 被 慕容雙 编辑。 原因: 問題變更 |
![]() |
![]() |