Enterprise Deployment withMATLABProduction Server
MATLAB Production Server™lets you run MATLAB functions on a server and access them via client applications. You create applications in MATLAB, package them using theProduction Server Compilerapp or thecompiler.build.productionServerArchive
function inMATLAB Compiler SDK™, and deploy them to theMATLAB Production Server. You can also create microservice Docker®images using thecompiler.package.microserviceDockerImage
function. Access deployed packages through client applications written in Java®, .NET, Python®, C, or C++ using client-specific libraries, or through HTTP/HTTPS requests using the RESTful API.
For information on how to write client applications using the RESTful API, Java, .NET, Python, C, and C++, seeClient Programming(MATLAB Production Server).
Apps
Production Server Compiler | 包MATLABprograms for deployment toMATLABProduction Server |
Functions
Objects
Topics
Deployable Archive Creation
- Create Deployable Archive for MATLAB Production Server
Learn how to package a MATLAB function into a deployable archive forMATLAB Production Server.
Microservices
- Create Microservice Docker Image
包MATLAB code into a microservice Docker image.
MATLABProgramming to Support In-Memory Caching
- Data Caching Basics
Set up the server to use Redis™, start a persistence service, and create a data cache. - 管理应用程序lication State in Deployed Archives
This example describes testing and development workflows to cache data in application archives deployed to the server.
MATLABProgramming to Support Custom Metrics
- Create Custom Prometheus Metrics
This example shows how to create custom Prometheus®metrics on the server and retrieve them using the metrics service.
MATLABProgramming Guidelines
- MATLAB Coding Guidelines
Best practices for writing MATLAB code when deploying toMATLAB Production Server. - State-Dependent Functions
Dealing with MATLAB functions that carry state. - Deploying MATLAB Functions Containing MEX Files
How to include MEX files when deploying MATLAB functions. - Supported MATLAB Data Types for Client and Server Marshaling
List of supported and unsupported MATLAB data types. - Modifying Deployed Functions
How to modify and redeploy MATLAB functions.
Client Applications
- Create MATLAB Production Server Java Client Using MWHttpClient Class
Define an interface, instantiate a proxy object, and then call the deployed function. - Create a C# Client
Learn how to call a MATLAB function deployed toMATLAB Production Serverfrom a C# application. - Create a Python Client
Learn how to call a MATLAB function deployed toMATLAB Production Serverfrom a Python application. - Create a C++ Client
Learn how to call a MATLAB function deployed toMATLAB Production Serverfrom a C++ application.
Testing
- Test Client Data Integration Against MATLAB
Testing the integration code used by your client against MATLAB provides tools for seeing the data that is passed into the MATLAB function
Excel Add-Ins
- Create and Install a Deployable Archive with Excel Integration for MATLAB Production Server
Learn how to create a deployable archive with Excel®integration forMATLAB Production Serverusing a MATLAB function.
Parallel Computing
- Use Parallel Computing Resources in Deployable Archives
Pass a cluster profile to a deployable archive that uses Parallel Computing Toolbox™ orMATLAB Parallel Server™.
Troubleshooting Excel Add-Ins Deployed toMATLABProduction Server
- XLA File Not Generated
Solution to.xla
file not being generated. - Server Configuration Add-in Not Enabled
Solution to enable Server Configuration add-in. - Error Using a Variable Number of Outputs
Solution to support variable number of outputs.