독립 실행형 애플리케이션
MATLAB® 함수로부터 독립 실행형 애플리케이션 만들기
MATLAB Compiler™를 사용하여 MATLAB 코드를 독립 실행형 애플리케이션으로 배포하고 다른 사용자와 로열티 없이 공유할 수 있습니다. 독립 실행형 애플리케이션은 MATLAB 앱 디자이너 또는 GUIDE를 사용하여 설계된 애플리케이션일 수도 있고, 명령줄 실행 파일일 수도 있습니다. 독립 실행형 애플리케이션을 실행할 타깃 시스템은 애플리케이션 실행을 위해 MATLAB Runtime을 설치해야 합니다. 라이선스가 부여된 MATLAB은 필요하지 않습니다. 자세한 내용은 MATLAB Runtime 다운로드 및 설치하기 항목을 참조하십시오.
Simulink® 시뮬레이션으로부터 독립 실행형 애플리케이션을 만들려면 Simulink Compiler를 사용하십시오.
독립 실행형 애플리케이션은 compiler.build.standaloneApplication
함수, mcc
명령, 또는 독립 실행형 애플리케이션 컴파일러 앱을 사용하여 만들 수 있습니다.
앱
독립 실행형 애플리케이션 컴파일러 | Package MATLAB programs for deployment as standalone applications (R2025a 이후) |
함수
도움말 항목
독립 실행형 애플리케이션 생성
- MATLAB에서 독립 실행형 애플리케이션 만들기
독립 실행형 MATLAB 애플리케이션을 생성하고, 설치하고, 실행하는 예제를 시도해 봅니다. - Create Standalone Application Using Standalone Application Compiler App
Create a standalone application using the Standalone Application Compiler app. - Install Deployed Application
Deploy and install a generated application.
애플리케이션 사용자 지정
- Manage Support Packages
Including support packages when packaging MATLAB applications. - 네트워크 드라이브에 애플리케이션 및 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 thegetSecret
function. (R2024a 이후)
Docker에 패키징
- Package MATLAB Standalone Applications into Docker Images
Package a MATLAB standalone application into a Docker® image.
패키징
- 사전순으로 나열된 mcc 명령 인수
사전순으로 나열된 MATLAB Compiler 옵션의 빠른 참조 테이블입니다. - mcc Command Line Arguments Grouped by Task
Quick reference table of MATLAB Compiler options, grouped by functionality.
병렬 연산
- 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. - Calling Shared Libraries in Deployed Applications
Theloadlibrary
function in MATLAB allows you to load shared library into MATLAB. - Handle Sensitive Information in Deployed Applications
Use secrets to remove sensitive information from deployed code. (R2024a 이후)
문제 해결
- Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK
Refer to functions not able to be compiled with MATLAB Compiler or MATLAB Compiler SDK™. - Limitations
MATLAB Compiler has limitations regarding what can be compiled. - Testing Failures
If you encounter errors testing your application, ensure MATLAB Runtime is installed correctly. - Investigate Deployed Application Failures
Diagnose application failure during end-user deployment.