restFunctionService
Description
To execute a function within a specific MATLAB® session from a client application, create a RESTFunctionService
object in the MATLAB session. When you call start
on this
object, it registers a service with a RESTFunctionConnector
object, so that
it can receive client requests. You can create multiple services in the same MATLAB session or services in different MATLAB sessions.
If you want to change your token, certificate, or port, or start a remote connection, use
a RESTFunctionConnector
object.
Creation
Syntax
Description
creates a service in MATLAB so that a client application can call the functions in
service
= restFunctionService(Name
,FcnList
)FcnList
using the service name Name
.
specifies the access mode.service
= restFunctionService(Name
,FcnList
,ClientAccessMode
)
Properties
Object Functions
start | Start REST function service from MATLAB |
Examples
Version History
Introduced in R2024a