Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-read-database
Reads data from relational databases using MATLAB Database Toolbox pushdown capabilities.
Passed 21 of 22 test cases with the skill, and 9 of 22 without it.
and 17 more in the full report
12 fixed9 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to import table `sales_data` into MATLAB, filtering rows where `sale_date` is after `2025-01-01`. Write the MATLAB pushdown import snippet.
| Checked | Without skill | With skill |
|---|---|---|
| The code configures a RowFilter condition for sale_date | Missed | Passed |
| The code uses sqlread with the pushdown row filter | Missed | Passed |
The instructions your model reads when the skill loads.
Use when importing data from relational databases with MATLAB Database Toolbox's pushdown capabilities — offloading row filtering, column selection, duplicate exclusion, and joins to the database instead of processing in MATLAB.
sqlwrite/sqlupdate/execute patterns insteadDatabaseDatastore + tall arrays or splitsqlqueryormread with Mappable classes)sqlread for tables, fetch for SQL queries.RowFilter to push row filtering to the database. NEVER import all rows and filter in MATLAB.databaseImportOptions with SelectedVariableNames when only a subset of columns is needed.isopen(conn) before operations and call close(conn) when done.sqlinnerjoin/sqlouterjoin for joining exactly 2 database tables.databaseImportOptions (opts) to sqlinnerjoin or sqlouterjoin — they do not accept it. Select columns in MATLAB after the join, or use fetch with explicit SQL.fetch with explicit SQL instead.| Function | Accepts opts? | Accepts RowFilter? | Accepts MaxRows? | Column Selection |
test cases passed, vs 9 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.