What problem does it solve?
Working with large CSV, Parquet, Excel, or MDF files in MATLAB often leads to out-of-memory errors when using readtable or parquetread, and choosing between datastores, tall arrays, transforms, and parallel execution is confusing without clear guidance.
Core Features & Use Cases
- Decision Flowchart: Routes you to exactly one recommended pattern — datastore + tall arrays for continuous datasets, datastore + transform for per-file or per-row-group processing, or parallel execution — based on data size and processing goal.
- Migration Guidance: Provides property-by-property mappings for migrating OOM-prone readtable and parquetread code to tabularTextDatastore and parquetDatastore, including textscan format specifier workarounds.
- Custom Datastore Implementation: Covers building custom datastore classes by subclassing matlab.io.Datastore with FileSet or BlockedFileSet, mixin selection (Partitionable, Subsettable, Shuffleable), and testing guidelines.
- Use Case: You have 50 GB of CSV sensor logs that crash readtable. The skill directs you to tabularTextDatastore plus tall arrays, shows the groupsummary/gather pattern, and explains how to open a parallel pool to speed up computation.
Quick Start
Ask the agent to help process a large CSV file that causes out-of-memory errors with readtable in MATLAB.