MATLAB Production Server를 사용한 엔터프라이즈 배포
MATLAB® 코드를 서버에서 실행하고 다양한 클라이언트를 사용하여 액세스
MATLAB Production Server™를 사용하면 MATLAB 함수를 서버에서 실행하고 클라이언트 애플리케이션을 통해 액세스할 수 있습니다. MATLAB에서 애플리케이션을 만들고, Production Server Compiler 앱 또는 MATLAB Compiler SDK™의 compiler.build.productionServerArchive
함수를 사용하여 패키징하고, MATLAB Production Server에 배포합니다. 배포된 패키지에 액세스하려면 Java®, .NET, Python®, C, 또는 C++로 작성된 클라이언트 애플리케이션을 통해 해당 클라이언트에 맞는 라이브러리를 사용하여 액세스하거나 RESTful API를 사용하여 HTTP/HTTPS 요청을 통해 액세스할 수 있습니다.
RESTful API, Java, .NET, Python, C, C++를 사용하여 클라이언트 애플리케이션을 작성하는 방법에 대한 자세한 내용은 클라이언트 프로그래밍 (MATLAB Production Server) 항목을 참조하십시오.
앱
Production Server Compiler | Package MATLAB programs for deployment to MATLAB Production Server |
함수
객체
도움말 항목
배포 가능한 아카이브 생성
- Create Deployable Archive for MATLAB Production Server
Learn how to package a MATLAB function into a deployable archive for MATLAB Production Server. - Package Deployable Archives from Command Line
Package MATLAB applications into deployable archives from the command line using themcc
command.
메모리 내 캐싱을 지원하는 MATLAB 프로그래밍
- Data Caching Basics
Set up the server to use Redis™, start a persistence service, and create a data cache. - Manage Application State in Deployed Archives
Test application before deployment and cache data in application archives deployed to MATLAB Production Server.
사용자 지정 메트릭을 지원하는 MATLAB 프로그래밍
- Create Custom Prometheus Metrics
This example shows how to create custom Prometheus® metrics on the server and retrieve them using the metrics service.
MATLAB 프로그래밍 지침
- MATLAB Coding Guidelines
Best practices for writing MATLAB code when deploying to MATLAB 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.
클라이언트 애플리케이션
- Create MATLAB Production Server Java Client Using MWHttpClient Class (MATLAB Production Server)
Define an interface, instantiate a static proxy object, and then call the deployed function. - Create a C# Client (MATLAB Production Server)
Learn how to call a MATLAB function deployed to MATLAB Production Server from a C# application. - Python 클라이언트 만들기 (MATLAB Production Server)
Python 애플리케이션에서 MATLAB Production Server로 배포된 MATLAB 함수를 호출하는 방법을 알아봅니다. - Create a C++ Client (MATLAB Production Server)
Learn how to call a MATLAB function deployed to MATLAB Production Server from a C++ application.
테스트
- Test Client Data Integration Against MATLAB
Test the integration code used by your client against MATLAB. - Test Web Request Handlers
Configure access to the routes file in the Production Server Compiler app, then test MATLAB functions for deployment to MATLAB Production Server.
Excel 추가 기능
- Create and Install Deployable Archive with Excel Integration for MATLAB Production Server
Learn how to create a deployable archive with Excel® integration for MATLAB Production Server using a MATLAB function.
병렬 연산
- Use Parallel Computing Resources in Deployable Archives
Pass a cluster profile to a deployable archive that uses Parallel Computing Toolbox™ or MATLAB Parallel Server™.
문제 해결
테스트
- MATLAB Not Responding to Web Requests Made to Test Server
Troubleshoot why MATLAB does not respond to web requests made from MATLAB to a local test server.
Excel 추가 기능
- 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.