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

2 次查看(过去 30 天)
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 ?????

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.

Community Treasure Hunt

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

Start Hunting!

Translated by