what is difference between deploy to hardware and run button

1 回表示 (過去 30 日間)
ravi kumar
ravi kumar 2017 年 2 月 18 日
回答済み: Walter Roberson 2017 年 2 月 18 日
hi,
using arduino and simulink what is difference between deploy to hardware and run button?
thanks

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 18 日
Run would be for the case where you have existing software on the Arduino (perhaps a "sketch") that is communicating with the simulink model; it could be the default interactive software running that allows you to query any arbitrary value on the Arduino.
Deploy To Hardware would be for the case where the Simulink model contains all of the information about how the Arduino has to behave and you wish to generate C or C++ code that is compiled to binary for installation on the Arduino, with the generated code being all that the Arduino is responsible for doing, with no interactive querying possible. This allows higher performance and also potentially allows the Arduino to run by itself without having to communicate with the host.

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by