SShortSingh.
Back to feed

MathWorks Releases Open-Source Tools to Let AI Agents Run and Debug MATLAB Code

0
·3 views

MathWorks has launched two open-source packages — MATLAB MCP Server and MATLAB Agentic Toolkit — enabling AI agents to write, execute, and iteratively debug code within a live MATLAB session. The MCP Server acts as a bridge between large language models and the MATLAB engine, exposing capabilities such as script execution, output retrieval, and error reporting via the open Model Context Protocol standard. The Agentic Toolkit provides higher-level scaffolding and reusable patterns to help agents handle common engineering tasks without rebuilding logic each session. Because MCP is an open standard, the tools are compatible with multiple agent runtimes including Claude Code, GitHub Copilot, and Gemini CLI, avoiding vendor lock-in. The key distinction MathWorks highlights is that agents now base responses on deterministic computation rather than probabilistic guessing, receiving actual error traces and numerical results to refine their outputs.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why the Best Code Is Often the Code You Choose Not to Write

A software engineering perspective argues that every line of code is a long-term liability — requiring reading, testing, debugging, and maintenance — making restraint a core engineering virtue. The piece contrasts 'clever' code, which compresses logic into terse expressions, with 'simple' code that reads clearly and leaves room for changes, favoring the latter for scalability. The argument extends to system design, where well-structured, unremarkable systems are said to outlast those dependent on sustained brilliance. The author warns that AI coding tools amplify this risk by generating plausible-looking but bloated code that no one fully owns or understands. Ultimately, the piece frames deletion and simplicity as advanced design skills, especially valuable in an era when generating code has become effortless.

0
ProgrammingDEV Community ·

Why Abstraction Makes Code Easier to Read and Maintain

A software design article on DEV Community illustrates the practical value of abstraction by comparing two code implementations of the same library borrowing feature. The first version is cluttered with raw SQL queries, connection handling, and low-level logic, while the second delegates those details to named services and methods. The cleaner version is easier to understand because it exposes only the decision-making logic, hiding technical complexity behind well-named abstractions. The author argues that human analytical capacity is limited, and reducing visible detail improves a developer's ability to reason about code. The piece is the second in an ongoing series focused on practical software design principles.

0
ProgrammingDEV Community ·

Nylas API Offers On-Demand and Webhook Tools to Strip Email Reply Clutter

Nylas provides two methods to remove quoted text, signatures, and disclaimers from emails via its Email API: an on-demand endpoint and an automated webhook. The on-demand path uses a PUT request to clean up to 20 messages at once, returning stripped text in a conversation field while leaving the original message untouched. The webhook, triggered by a message.created.cleaned event, automatically delivers cleaned content the moment a new email arrives, making it suitable for real-time processing pipelines. Both approaches are non-destructive, meaning the original message body remains intact in the mailbox regardless of how many times cleaning is applied. Developers can use either method independently or combine them — the webhook for continuous inflow and the endpoint for selective or batch reprocessing.

0
ProgrammingDEV Community ·

Nylas Hosted OAuth Simplifies Email and Calendar Account Authorization for Developers

Nylas offers a hosted OAuth flow that handles the complexity of connecting user accounts from providers like Google and Microsoft to third-party apps. Developers redirect users to a hosted authorization URL at /v3/connect/auth, where users sign in and grant access through their provider's consent screen. The provider then returns a short-lived authorization code to the app's registered redirect URI, which the backend exchanges for a durable grant via POST /v3/connect/token. This grant, tied to a unique grant_id, is required for all subsequent API calls to email, calendar, and contacts endpoints. Nylas also provides a CLI tool that condenses the entire flow into a single command, useful for quickly generating test grants during development.