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
RESTFunctionService | Service for calling MATLAB functions from client applications (Since R2024a) |
ClientRequestInfo | Client to function service HTTPS request information (Since R2024a) |
RESTFunctionConnector | MATLAB to client application connection (Since R2024a) |
Functions
restFunctionServices | List of function services in current MATLAB session (Since R2024a) |
REST Service Reference for MATLAB Function Execution
POST Synchronous
Request | Make synchronous request to MATLAB REST function service and wait for response |
Topics
- Call User-Defined Function with MATLAB REST Function Services
How to call user-defined MATLAB functions using the synchronous request-response model.
- Create MATLAB REST Function Services
Enable licensed MATLAB users to make RESTful function calls to their MATLAB.
- JSON Representation of MATLAB Data Types
Represent supported MATLAB data types in JSON.