Ausführen auf Zielhardware
Mit dem MATLAB Support Package for Raspberry Pi® Hardware können Sie zudem die MATLAB-Funktion auf der Hardware bereitstellen. Mit MATLAB Coder™ können Sie C Code für Ihren MATLAB-Algorithmus generieren und zur eigenständigen Ausführung auf Raspberry Pi-Hardware bereitstellen. Die eigenständige ausführbare Datei wird weiterhin ausgeführt, auch wenn die Hardware vom Computer getrennt wird. Weitere Informationen siehe Additional Capabilities with MATLAB Coder.
Hinweis
Sie können die MATLAB-Funktion auf der Hardware über MATLAB Online™ bereitstellen. Weitere Informationen dazu finden Sie unter Connect to Raspberry Pi Hardware Board in MATLAB Online.
Objekte
raspi | Connection to Raspberry Pi board |
Funktionen
targetHardware | Create configuration object for hardware |
deploy | Deploy MATLAB function on hardware |
Apps
Raspberry Pi Resource Monitor App | Monitor and manage Raspberry Pi resources (Seit R2020b) |
Themen
- 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.
- SCHRITT 1: Create or Open a MATLAB Function
- SCHRITT 2: Run the MATLAB Function Using Live IO from Hardware
- SCHRITT 3: Add Compilation Directive to MATLAB Function
- SCHRITT 4: Check MATLAB Function Using Code Analyzer
- SCHRITT 5: Check MATLAB Function for Unsupported Calls
- SCHRITT 6: Create Hardware Configuration Object
- SCHRITT 7: Deploy MATLAB Function on Hardware