How to update the MATLAB Agentic Toolkit so that it uses the new version of MATLAB: R2026a
MATLAB R2026a was released on Wednesday and I'm still writing my tour of the the new features. In the meantime, I wanted to show you how easy it is to update your AI to use this new version thanks to the MATLAB Agentic Toolkit.
I'm using Claude Code and have the MATLAB Agentic Toolkit installed as described in my blogpost from earlier this week. I've also installed MATLAB R2026a.
I just tell Claude "MATLAB R2026a is now installed. Update the MATLAB Agentic Toolkit"

Claude asked me various permission-related questions and then I got the plan
MATLAB Agentic Toolkit — Update Plan
====================================
Platform: Windows x86_64
MATLAB installations found:
[1] R2026a C:\Program Files\MATLAB\R2026a ← newest
[2] R2025b C:\Program Files\MATLAB\R2025b (current in config)
[3] R2025a C:\Program Files\MATLAB\R2025a
[4] R2024b C:\Program Files\MATLAB\R2024b
[5] R2024a C:\Program Files\MATLAB\R2024a
[6] R2023b C:\Program Files\MATLAB\R2023b
[7] R2022a C:\Program Files\MATLAB\R2022a
MCP server:
Current: v0.7.0 at C:\Users\walki\.local\bin\matlab-mcp-core-server.exe
Latest: v0.8.0
Plugins:
matlab-core: ✔ installed (user scope)
toolkit: ✔ installed (user scope)
Proposed actions:
MATLAB: Switch R2025b → R2026a (C:\Program Files\MATLAB\R2026a)
MCP server: Upgrade v0.7.0 → v0.8.0
Display mode: nodesktop (unchanged)
Plugins: No changes needed
Proceed with this plan?
I told it 'Yes' and away it went. It asked for permission a few more times, It had a couple of problems along the way which it summarized as follows
Verification succeeded — MATLAB R2026a is live. Now a final note about the staged binary swap.
Setup Complete
==============
MATLAB
Version: R2026a ✔ verified
Location: C:\Program Files\MATLAB\R2026a
MCP Server
Running: v0.7.0 (current session)
Staged: v0.8.0 at C:\Users\walki\.local\bin\matlab-mcp-core-server.exe.new
Display: nodesktop
Configuration
State file: C:\Users\walki\.matlab-agentic-toolkit\config.json ✔ updated
Plugins
matlab-core@matlab-agentic-toolkit 0.1.0 (user)
toolkit@matlab-agentic-toolkit 0.1.0 (user)
The running MCP server holds a lock on its own .exe, so v0.8.0 was downloaded to matlab-mcp-core-server.exe.new. To
activate it:
1. Exit Claude Code
2. Run in a fresh terminal:
mv ~/.local/bin/matlab-mcp-core-server.exe.new ~/.local/bin/matlab-mcp-core-server.exe
3. Restart Claude Code
Want me to save this swap as a small helper script, or leave the manual steps?
I'm running windows so the mv command that Claude suggests isn't going to work! I tell it that this is the case and ask what I should do instead
I am running Windows. What should the command be?
● Depends on which shell you open. In a fresh terminal, use one of these:
Git Bash (same as before):
mv ~/.local/bin/matlab-mcp-core-server.exe.new ~/.local/bin/matlab-mcp-core-server.exe
PowerShell:
Move-Item -Force $HOME\.local\bin\matlab-mcp-core-server.exe.new $HOME\.local\bin\matlab-mcp-core-server.exe
cmd.exe:
move /Y %USERPROFILE%\.local\bin\matlab-mcp-core-server.exe.new %USERPROFILE%\.local\bin\matlab-mcp-core-server.exe
The .exe is locked while Claude Code is running, so exit first, then run the command.
Since I'm using cmd.exe, that's the command I use. I haven't checked the other two. I restart Claude and ask what its using now

Done! Now I can get back to writing the blog post about R2026a.


댓글
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.