Release Notes — v0.2.0
New Features
Run commands programmatically from MATLAB
Send commands to a running terminal session directly from MATLAB code:
t = terminal();
t.run("git status")
t.run("make build")The run method sends the command string followed by Enter, as if typed interactively.
StartupCommand option
Run a command automatically when the terminal starts:
t = terminal(StartupCommand="git status");Codex CLI agent support
OpenAI Codex CLI is now a supported agent for agentic workflows:
t = terminal(Agent="codex");Codex registration uses codex mcp add when the CLI is available, with automatic fallback to writing ~/.codex/config.json directly.
MCP server pinned to MATLAB session
Any agents that use the MCP server from within a terminal will always connect to the MATLAB instance in which that terminal is running, even if shareMATLABSession was called in other MATLAB sessions. This prevents agents from unexpectedly switching to a different MATLAB session.
Bug Fixes
Dark mode background color matches MATLAB desktop
The terminal dark mode background color now uses #121212 to match the MATLAB command window and editor background, instead of the previous #1e1e1e which was noticeably different.
Fixes matlab/terminal-in-matlab#1.
Other Changes
- Updated release workflow for public repository
- Minimum MATLAB version check (R2023a) added for agentic mode
- Removed redundant
shareMATLABSessioncall from agentic startup path
Full Changelog: v0.1.0...v0.2.0