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

ID: t3mmsdxvmd