What is the difference between the "Build, Deploy & Start" and "Build" buttons from Embedded Coder?

31 ビュー (過去 30 日間)
Hi, I'm studying the embedded code generation for PX4 with the "Embedded Coder Support Package for PX4 Autopilot".
The example from the support package says to click "Monitor & Tune" button or "Build, Deploy & Start" button to implement examples.
Also, I couldn't find examples using embedded code generation.
Thus, I wonder if the "Build, Deploy & Start" and "Build" (on embedded coder) do the same work. Otherwise, what is the difference between them?

採用された回答

Jonas
Jonas 2020 年 5 月 13 日
編集済み: Jonas 2020 年 5 月 13 日
  • Build means that MATLAB generates C-code from your Simulink model.
  • Deploy means that the generated C-code is deployed (placed) on your target hardware, which is the controller of a drone in your case.
  • Start means that the deployed generated C-code is started on the target hardware and starts execution.
  2 件のコメント
lim daehee
lim daehee 2020 年 5 月 14 日
Dear Jonas,
Thank you for your reply and I have one more question.
What is the difference of codes between the code from build, deploy&start button and the code from the build button on embedded coder app?
Jonas
Jonas 2020 年 5 月 14 日
Should be no difference. With the first button, MATLAB just stops after generating the code, but the code is still the same.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by