Main Content
Import Data Programmatically
Import data from relational database into MATLAB® workspace using command line
Database Toolbox™ enables you to import data into MATLAB using the command line. You can import data from database tables, or write and execute SQL queries and import the results.
Objects
connection | Relational database JDBC connection |
SQLImportOptions | Define import options for database data |
Functions
Topics
SQL Query Basics
- Data Import Using Database Explorer App or Command Line
Learn the best way to import data from your database into MATLAB.
Import Data Using Database Tables or SQL Queries
- Data Import Memory Management
Save memory when importing data by using functions and theSQLImportOptions
object. - Import Data from Database Table Using sqlread Function
Import data from one table or from the result of multiple joins in an SQL query.
- Interact with Data in SQLite Database Using MATLAB Interface to SQLite
Analyze data without access to a database or driver by using the MATLAB interface to SQLite.