I want to connect mysql database on www.000webhost.com with matlab 2016a. Is that possible?If yes, How to do that? Can't get any source for this.
2 次查看(过去 30 天)
显示 更早的评论
I know 3 way to connect database by matlab.
1. conn = database(instance,username,password)
2. conn = database(instance,username,password,driver,databas eurl)
3. conn = database(instance,username,password,Name,Value)
I think that would be the second option. But I don't know about driver and databaseurl. Can anyone give me some examples to connect to database over webhost?
0 个评论
回答(1 个)
Yuebin Zhou
2016-3-17
The functions you mentioned correspond to connect to database using JDBC, ODBC and Bridge. You can refer to the link below for some explanations and examples.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!