matlab-use-duckdb
OfficialQuery big files in MATLAB with SQL speed.
Data & Analytics#performance optimization#duckdb#matlab#sql analytics#database toolbox#file query#out-of-memory
Authormatlab
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you avoid slow and memory-heavy MATLAB data pipelines by generating correct DuckDB-backed MATLAB code that performs filtering, aggregation, and file-to-table analytics directly in SQL.
Core Features & Use Cases
- DuckDB connection guidance: Uses
duckdb()(optionally file-backed) with properisopen(conn)verification and safe closing viaclose(conn). - File analytics pushdown: Uses
fetchwith SQLread_csv/read_parquet/read_xlsxpatterns to prevent the load-then-query anti-pattern. - In-database workflows: Supports creating portable development databases via
duckdb("file.duckdb"), importing withsqlwrite, and querying withsqlreador complex SQL viafetch. - Extensions support: Installs and loads extensions (e.g.,
excel) when the query requires them. - Guardrails and correctness: Warns against unsupported patterns such as
databasePreparedStatementfor DuckDB and encourages reserved-keyword-safe column handling (e.g., usingrenamevars).
Quick Start
Ask the agent to generate a DuckDB-powered MATLAB solution that queries your large CSV or Parquet file directly with SQL filtering and aggregation using fetch and read_csv or read_parquet.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: matlab-use-duckdb Download link: https://github.com/matlab/matlab-agentic-toolkit/archive/main.zip#matlab-use-duckdb Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.