matlab-use-database
Installation
SKILL.md
MATLAB Database Toolbox
Use when working with relational databases from MATLAB using Database Toolbox. Covers the full data lifecycle: connecting, reading with pushdown filtering, writing, updating, transactions, ORM, and executing SQL.
When to Use
- Connecting to relational databases (PostgreSQL, MySQL, SQLite, SQL Server, Oracle)
- Reading data with
sqlreadorfetch - Filtering with
RowFilter(pushdown to database) - Writing data with
sqlwrite - Updating rows with
sqlupdate - Executing SQL statements with
execute - Managing transactions (
AutoCommit,commit,rollback) - Mapping MATLAB classes to database tables (ORM with
Mappable) - Running stored procedures or prepared statements
- Multithreaded database read/write with
parfeval(R2026a+) - User mentions: database, SQL, query, table, rows, insert, update, delete, transaction, multithreaded, parallel