database connection in matlab

Hi all,
I wanna to write a program that connect to a database and when the database is updated get the new information from database and do processing on new data. does anybody have suggestion to do this?
Thanks in advance, Parisa

 Accepted Answer

Kaustubha Govind
Kaustubha Govind on 9 May 2011
The Database Toolbox allows you to interface MATLAB with ODBC/JDBC compatible databases.

3 Comments

Hello Kaustubha,
The database toolbox allow me to connect to the database and import data to matlab workspace. I wanna to bind my table in my workspace with the database table. so when a new row added to data base my table in my workspace change and new data added to matlab workspace. Do you have any idea about it?
Thanks
Hello Kaustubha,
The database toolbox allow me to connect to the database and import data to matlab workspace. I wanna to bind my table in my workspace with the database table. so when a new row added to data base my table in my workspace change and new data added to matlab workspace. Do you have any idea about it?
Thanks
Sorry - I'm not familiar with this situation. However, do you know if you can bind the table with any shared library or executable? If yes, you can write an application that calls into the MATLAB Engine (http://www.mathworks.com/help/techdoc/matlab_external/f29148.html) to write workspace variables.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!