Database Toolbox | ![]() ![]() |
Execute
Click Execute to run the query you created using the Visual Query Builder. This retrieves the data from the database and imports it into MATLAB. Another way to run a query is to select Execute from the Query menu.
After executing, query results appear in the Data area.
MATLAB stores the data as a cell array assigned to the MATLAB workspace variable name you provided, where each element in the cell array points to an array that consists of a single value. The cell-array structure allows a mixture of data types.
For more information about working with cell arrays, see Working with Cell Arrays in MATLAB in Chapter 3 of the Database Toolbox User's Guide.
See Also
![]() | MATLAB Workspace Variable | Data | ![]() |