What problem does it solve?
This Skill helps you reliably map MATLAB classes to relational database tables and generate correct Database Toolbox ORM (Object Relational Mapping) code, so your agent can perform object-based CRUD without hand-writing fragile SQL and mapping logic.
Core Features & Use Cases
- Mappable class generation: Creates MATLAB classes that inherit from database.orm.mixin.Mappable and define property-to-column mappings.
- CRUD with ORM functions: Uses ormread, ormwrite, and ormupdate for reading, inserting, and updating mapped objects.
- Schema generation and validation: Supports orm2sql to generate and inspect CREATE TABLE SQL from class definitions.
- Object-oriented database workflows: Enables class-based business logic layered on top of relational storage.
Use it when you need to map an entity (for example, an Employee or Product) into a relational table and then read/update records through strongly-typed MATLAB objects.
Quick Start
Ask your AI to generate a Database Toolbox ORM Mappable class that maps your MATLAB properties to your database columns, then show the SQL it would generate using orm2sql for the target table and execute ormwrite/ormread/ormupdate in a workflow.