Database Toolbox | ![]() ![]() |
Getting Started with the Visual Query Builder
The Visual Query Builder (VQB) is an easy-to-use graphical user interface for retrieving data from your database. With the VQB, you build queries to retrieve data by selecting information from lists rather than by entering MATLAB functions. The VQB retrieves the data from a database and puts it in a MATLAB cell array, structure, or numeric matrix so you can process the data using the MATLAB suite of functions. With the VQB, you can display information retrieved as cell arrays in relational tables, reports, and charts.
Before You Start
Before using the Visual Query Builder, set up a data source. For instructions, see Setting Up a Data Source.
Note that if you use JDBC drivers on a Windows platform, you cannot use the Visual Query Builder.
Starting the Visual Query Builder
To start the Visual Query Builder interface, type
at the MATLAB prompt. The Visual Query Builder opens. When you start the VQB, all fields except the Data source are blank. You can also start the interface using the Start menu or Launch Pad in the MATLAB desktop.
Summary of Steps to Use the Visual Query Builder
Detailed instructions to perform these steps are in subsequent sections. Required steps are marked with an *.
Quitting the Visual Query Builder
To quit using the Visual Query Builder, select Exit from the Query menu, or click the close box.
![]() | Visual Query Builder | When to Use the Visual Query Builder | ![]() |