MATLAB Answers

mun1013
0

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

Asked by mun1013
on 21 Jun 2015
Latest activity Answered by saras
on 27 Dec 2016
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?

  0 Comments

Sign in to comment.

2 Answers

Answer by ND
on 28 Nov 2016

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

  1 Comment

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.

Sign in to comment.


Answer by saras
on 27 Dec 2016

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.

  0 Comments

Sign in to comment.