Main Content

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 CompilerPackage MATLAB programs for deployment to MATLAB Production Server

함수

모두 확장

deploytool애플리케이션 배포 앱의 목록 열기
compiler.build.productionServerArchiveCreate an archive for deployment to MATLAB Production Server or Docker (R2020b 이후)
compiler.build.ProductionServerArchiveOptionsOptions for building deployable archives (R2020b 이후)
compiler.build.excelClientForProductionServerCreate Microsoft Excel add-in for MATLAB Production Server (R2021b 이후)
compiler.build.ExcelClientForProductionServerOptionsOptions for building Excel add-ins (R2021b 이후)
compiler.package.excelClientForProductionServerCreate an installer for an Excel client for MATLAB Production Server (R2021b 이후)
compiler.package.ExcelClientForProductionServerOptionsOptions for creating an installer for an Excel client for MATLAB Production Server (R2021b 이후)
compiler.build.ResultsCompiler build results object (R2020b 이후)
mccCompile MATLAB functions for deployment
mps.json.encodeConvert MATLAB data to JSON text using MATLAB Production Server JSON schema
mps.json.decodeConvert a character vector or string in MATLAB Production Server JSON schema to MATLAB data
mps.json.encoderequestConvert MATLAB data in a server request to JSON text using MATLAB Production Server JSON schema
mps.json.decoderesponseConvert JSON text from a server response to MATLAB data
prodserver.metrics.incrementCounterCreate Prometheus counter metric (R2022a 이후)
prodserver.metrics.setGaugeCreate Prometheus gauge metric (R2022a 이후)

컨트롤러

mps.cache.controlCreate a persistence service controller object
startStart a persistence service and attach it to a MATLAB session
stopStop a persistence service and detach it from a MATLAB session
restartRestart a persistence service and attach it to a MATLAB session
attachConnect MATLAB session to persistence service that is already running
detachDisconnect MATLAB session from persistence service that is already running
pingTest whether the persistence service is reachable
versionVersion number for persistence provider

캐시

mps.cache.connectConnect to cache, or create a cache if it doesn't exist
bytesReturn the number of bytes of storage used by value stored at each key
clearRemove all keys and values from cache
flushWrite all locally modified keys to the persistence service
getFetch values of keys from cache
getpGet the value of a public cache property
isKeyDetermine if the cache contains specified keys
keysGet all keys from cache
lengthNumber of key-value pairs in the data cache
purgeFlush all local data to the persistence service
putWrite key-value pairs to cache
removeRemove keys from cache
retainStore remote keys from cache locally or return locally stored keys

뮤텍스

mps.sync.mutexCreate a persistence service mutex
acquireAcquire advisory lock on persistence service mutex
ownCheck ownership of advisory lock on a persistence service mutex object
releaseRelease advisory lock on persistence service mutex

객체

모두 확장

mps.cache.ControllerManage the life cycle of a persistence service in a MATLAB testing environment
mps.cache.DataCacheRepresent cache concept in MATLAB code
mps.sync.TimedMATFileMutexRepresent a MAT-file persistence service mutex
mps.sync.TimedRedisMutexRepresent a Redis persistence service mutex

도움말 항목

배포 가능한 아카이브 생성

메모리 내 캐싱을 지원하는 MATLAB 프로그래밍

사용자 지정 메트릭을 지원하는 MATLAB 프로그래밍

MATLAB 프로그래밍 지침

클라이언트 애플리케이션

테스트

Excel 추가 기능

병렬 연산

문제 해결

테스트

Excel 추가 기능