Arduino のサポートパッケージはMATLAB Compilerに対応していますか?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 15 Ott 2019
Modificato: MathWorks Support Team
il 23 Ott 2019
Arduino のサポートパッケージはMATLAB Compilerに対応しているか、教えてください。
Risposta accettata
MathWorks Support Team
il 24 Ott 2019
Modificato: MathWorks Support Team
il 23 Ott 2019
R2019b より Arduino Support Package は MATLAB Compiler でコンパイルがサポートされています。
主な手順は、以下のものです。
なお、MATLAB環境にはArduino Support Packageがインストールされている必要があります。
1. arduino コマンドなどを含むアプリケーション(MATLAB プログラム)を、アプリケーションコンパイラ(deploytool)を使用し、スタンドアロンアプリケーションとしてコンパイルします。
2. 配布先のコンピュータに正しいバージョンのMATLAB Compiler Runtime (MCR) をインストールします。
3. 配布先のコンピュータにArduino 1.8.8 をインストールします。これはArduino のWebサイトよりダウンロードします。<https://www.arduino.cc/en/Main/OldSoftwareReleases>
4. 配布先でスタンドアロンアプリケーションを実行します。「Configure Arduino」画面が表示されますので、正しいシリアルポートとボード名とArduinoアプリケーションの場所を設定します。
例:
COM4
UNO
C:\Program Files (x86)\Arduino
5. Arduinoのパスの検証が正常終了すると、アプリケーションが実行可能になります。
以下の URL より関連ドキュメンテーションをご覧いただけます。
参考:Create Standalone Applications for Arduino Hardware
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Run on Target Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!