Skip to main content
Glama

MATLAB MCP Server

execute_matlab_code

Execute MATLAB code directly by submitting scripts, with options to save the script for future use or specify a custom path. Ideal for integrating MATLAB with AI systems.

Instructions

Execute MATLAB code and return the results

Input Schema

NameRequiredDescriptionDefault
codeYesMATLAB code to execute
saveScriptNoWhether to save the MATLAB script for future reference
scriptPathNoCustom path to save the MATLAB script (optional)

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "MATLAB code to execute", "type": "string" }, "saveScript": { "description": "Whether to save the MATLAB script for future reference", "type": "boolean" }, "scriptPath": { "description": "Custom path to save the MATLAB script (optional)", "type": "string" } }, "required": [ "code" ], "type": "object" }

You must be authenticated.

Other Tools from MATLAB MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WilliamCloudQi/matlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server