Database Toolbox Previous page   Next Page

How Databases Connect to MATLAB

The Database Toolbox connects MATLAB to a database using MATLAB functions. Data is retrieved from the database and stored in the MATLAB workspace. At that point, you use the extensive set of MATLAB tools to work with the data. You can include Database Toolbox functions in MATLAB M-files. To export the data from MATLAB to a database, you use MATLAB functions.

The Visual Query Builder (VQB), which comes with the Database Toolbox, is an easy-to-use graphical user interface (GUI) for exchanging data with your database. With the VQB tool, you build queries to retrieve data by selecting information from lists rather than by entering MATLAB functions. The VQB imports the data into the MATLAB workspace so you then can process the data using the MATLAB suite of functions. With the VQB, you can display the retrieved information in relational tables, reports, and charts. You can also use the VQB to insert data from MATLAB into new rows in a database.


Previous page  What Is the Database Toolbox? Features of the Database Toolbox Next page

© 1994-2005 The MathWorks, Inc.