독립 실행형 애플리케이션
MATLAB® 함수로부터 독립 실행형 애플리케이션 만들기
MATLAB Compiler™를 사용하여 MATLAB 코드를 독립 실행형 애플리케이션으로 배포하고 다른 사용자와 로열티 없이 공유할 수 있습니다. 독립 실행형 애플리케이션은 MATLAB 앱 디자이너를 사용하여 설계된 애플리케이션일 수도 있고, 명령줄 실행 파일일 수도 있습니다. 독립 실행형 애플리케이션을 실행할 타깃 시스템은 애플리케이션 실행을 위해 MATLAB Runtime을 설치해야 합니다. 라이선스가 부여된 MATLAB은 필요하지 않습니다. 자세한 내용은 MATLAB Runtime 다운로드 및 설치하기 항목을 참조하십시오.
Simulink® 시뮬레이션으로부터 독립 실행형 애플리케이션을 만들려면 Simulink Compiler를 사용하십시오.
독립 실행형 애플리케이션은 compiler.build.standaloneApplication 함수, mcc 명령, 또는 독립 실행형 애플리케이션 컴파일러 앱을 사용하여 만들 수 있습니다.
앱
| 독립 실행형 애플리케이션 컴파일러 | 독립 실행형 애플리케이션으로 배포하기 위한 MATLAB 프로그램 패키징 (R2025a 이후) |
함수
도움말 항목
독립 실행형 애플리케이션 생성
- MATLAB에서 독립 실행형 애플리케이션 만들기
독립 실행형 MATLAB 애플리케이션을 생성하고, 설치하고, 실행하는 예제를 시도해 봅니다. - 독립 실행형 애플리케이션 컴파일러 앱을 사용하여 독립 실행형 애플리케이션 만들기
독립 실행형 애플리케이션 컴파일러 앱을 사용하여 독립 실행형 애플리케이션을 만듭니다. - 배포용 애플리케이션 설치하기
생성된 애플리케이션을 배포하고 설치합니다.
애플리케이션 사용자 지정
- 지원 패키지 관리하기
MATLAB 애플리케이션을 패키징할 때 지원 패키지를 포함합니다. - 네트워크 드라이브에 애플리케이션 및 MATLAB Runtime 배포하기
네트워크 드라이브에서 MATLAB Compiler 생성 애플리케이션을 실행합니다. - Include and Access Files in Packaged Applications
Include and access additional files in packaged applications. - Access Sensitive Information in Standalone Application
Retrieve sensitive information in a deployed application using thegetSecretfunction. (R2024a 이후)
Docker에 패키징
- MATLAB 독립 실행형 애플리케이션을 Docker 이미지로 패키징하기
MATLAB 독립 실행형 애플리케이션을 Docker® 이미지로 패키징합니다. - Create Docker Image Using Custom Base Layer
Create a Docker image with a custom base image. - Access Files with Containers
Access and manage data files within MATLAB Runtime containers using internal storage and mounted host volumes.
병렬 연산
- Deploy Parallel-Enabled MATLAB Function as Standalone Application
This example shows how to deploy a parallel-enabled MATLAB function as a standalone application using a cluster profile. - Use Parallel Computing Toolbox in Deployed Applications
Pass a cluster profile to an application that uses the Parallel Computing Toolbox™.
종속성 분석
- Dependency Analysis Using MATLAB Compiler
MATLAB Compiler uses a dependency analysis function to find and include files. - Dependency Analysis Function and User Interaction with the Compilation Path
MATLAB Compiler uses the MATLAB search path to analyze dependencies.
모범 사례
- Write Deployable MATLAB Code
Write flexible MATLAB code that can be packaged and deployed. - Standalone Applications and Arguments
Create standalone applications that use arguments. - Include and Access Files in Packaged Applications
Include and access additional files in packaged applications. - Protect Code and Data in Deployable Archive
Protect deployed code, data, and configuration using one or more security packaging options. - 배포용 애플리케이션에서 공유 라이브러리 호출하기
MATLAB의loadlibrary함수를 사용하면 공유 라이브러리를 MATLAB에 불러올 수 있습니다. - Handle Sensitive Information in Deployed Applications
Use secrets to remove sensitive information from deployed code. (R2024a 이후)
문제 해결
- MATLAB Compiler 및 MATLAB Compiler SDK 에서 컴파일이 지원되지 않는 함수
MATLAB Compiler 또는 MATLAB Compiler SDK™를 사용하여 컴파일할 수 없는 함수를 알아봅니다. - Limitations for MATLAB Compiler
MATLAB Compiler has limitations regarding what can be compiled. - Troubleshoot Deployed Application Failures
Troubleshoot application failure before and during end-user deployment.