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 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Yuebin Zhou
Yuebin Zhou el 17 de Mzo. de 2016
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.

Community Treasure Hunt

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

Start Hunting!

Translated by