타깃 하드웨어에서 실행하기
MATLAB® 함수를 하드웨어에 독립형 실행 파일로 배포
MATLAB Support Package for Raspberry Pi® Hardware를 사용하면 하드웨어에 MATLAB 함수를 배포할 수도 있습니다. MATLAB Coder™를 사용하면 MATLAB 알고리즘에 대한 C 코드를 생성하고 이를 Raspberry Pi 하드웨어에 배포하여 독립형 실행 파일로 실행할 수 있습니다. 독립형 실행 파일은 하드웨어가 컴퓨터와의 연결이 끊어져도 계속 실행됩니다. 자세한 내용은 Additional Capabilities with MATLAB Coder 항목을 참조하십시오.
참고
MATLAB Online™에서 하드웨어에 MATLAB 함수를 배포할 수 있습니다. 자세한 내용은 Connect to Raspberry Pi Hardware Board in MATLAB Online 항목을 참조하십시오.
객체
raspi | Connection to Raspberry Pi board |
함수
targetHardware | Create configuration object for hardware |
deploy | Deploy MATLAB function on hardware |
앱
Raspberry Pi Resource Monitor 앱 | Monitor and manage Raspberry Pi resources (R2020b 이후) |
도움말 항목
- Additional Capabilities with MATLAB Coder
Include additional capabilities for code generation.
- Automatically Run MATLAB Function on Raspberry Pi After Restart
Automatically start a MATLAB function deployed on Raspberry Pi hardware every time you restart the hardware.
- Workflow to Deploy MATLAB Function on Raspberry Pi
Workflow to explain the steps involved in deploying a MATLAB function on the hardware.
- 단계 1: Create or Open a MATLAB Function
- 단계 2: Run the MATLAB Function Using Live IO from Hardware
- 단계 3: Add Compilation Directive to MATLAB Function
- 단계 4: Check MATLAB Function Using Code Analyzer
- 단계 5: Check MATLAB Function for Unsupported Calls
- 단계 6: Create Hardware Configuration Object
- 단계 7: Deploy MATLAB Function on Hardware