What problem does it solve?
AI agents often escalate into internal scope framework objects (such as the Simulink.scopes namespace) when configuring scope properties, which crashes MATLAB with no recovery. This Skill constrains the agent to documented public APIs so scope configuration is safe and predictable.
Core Features & Use Cases
- Safe property configuration: Sets properties on Simulink scope blocks via get_param/set_param and the ScopeConfiguration object, and on MATLAB scope objects via public properties.
- Property discovery and validation: Uses properties(...) to confirm a target property exists before attempting to set it, mapping user descriptions to the closest matching property name.
- Structured error handling: Handles locked objects with release(), permits one retry for format or access-method mismatches, and directs users to the scope UI when a property is not programmatically accessible.
- Use Case: When asked to change the time span of a Time Scope block in a Simulink model, the agent retrieves the ScopeConfiguration object, verifies the property exists, sets it through the documented API, and stops with a clear message if the property is UI-only.
Quick Start
Configure the Time Span property of the Time Scope block in my Simulink model using only documented scope APIs.