Main Content

Call MATLAB Functions Using REST Function Service

Create REST function services that allow client applications to call MATLAB® functions

You can create MATLAB REST function services that allow client applications to call user-defined MATLAB functions over the HTTPS protocol. The service enables communication between your programs and MATLAB regardless of your platform and execution environment. You can call custom MATLAB functions using any programming language or application that can make a REST call, either locally or remotely.

Only you can execute functions on your MATLAB.

Objects

RESTFunctionServiceService for calling MATLAB functions from client applications (Since R2024a)
ClientRequestInfoClient to function service HTTPS request information (Since R2024a)
RESTFunctionConnectorMATLAB to client application connection (Since R2024a)

Functions

restFunctionServicesList of function services in current MATLAB session (Since R2024a)

REST Service Reference for MATLAB Function Execution

POST Synchronous RequestMake synchronous request to MATLAB REST function service and wait for response

Topics