User`s guide

4 Using Database Explorer
4-26
Generate MATLAB Code
You can generate MATLAB code to automate accessing data that you display in the Data
Preview pane.
1
Connect to a data source. Use the SQL Criteria panel to create a query and display
the results in the Data Preview pane.
2
Select Import > Generate Script to display MATLAB code in the MATLAB Editor.