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일
is it possible to create gui for simulink model and then to deploy it on hardware ?????

댓글 수: 1

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일
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 Exchange에서 Embedded 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