Is there a code/command to execute/run 'Deploy to Hardware' (Matlab Simulink) in Matlab GUI?

I was doing Matlab GUI and Simulink interface,
In Matlab GUI,
open_system('simulinkfile');
set_param('simulinkfile','SimulationCommand','Start');
There is a code to run the simulink in MATLAB GUI, I was wondering would it be possible to run "Deploy to Hardware" using command?

回答 (2 件)

ND
ND 2016 年 11 月 28 日

0 投票

is it possible to create gui for simulink model and then to deploy it on hardware ?????

1 件のコメント

Walter Roberson
Walter Roberson 2016 年 11 月 28 日
Which hardware?
There is support for some systems such as Android; https://www.mathworks.com/hardware-support/android-programming-simulink.html
But generally speaking, graphics requires graphics libraries and most hardware does not support graphics libraries.

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

saras
saras 2016 年 12 月 27 日

0 投票

If you are using Simulink Coder or Embedded Coder, you should be able to use rtwbuild command to deploy the model to your target hardware.

カテゴリ

ヘルプ センター および File ExchangeEmbedded Coder についてさらに検索

質問済み:

2015 年 6 月 21 日

回答済み:

2016 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by