how to connect the matlab to mysql database

1 view (last 30 days)
we done the face recognition and finger print recognition using matlabthen we created inn mysql database..we want to compare finger print and face recognition and we want to compare it in database..we don't know how to connect matlab to database.pls give me that program.pls .

Answers (1)

Madhura Suresh
Madhura Suresh on 26 Aug 2013
Make sure the database and the driver are installed, once you have the database toolbox.
Connect to the database, test_db, on the machine remotehost. Use the user name, root, and password, matlab.
conn = database('test_db','root','matlab','Vendor','MySQL',... 'Server','remotehost');

Community Treasure Hunt

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

Start Hunting!