I can't use deploytool with simulink

2 views (last 30 days)
I want to use simulink in an .exe file can I use simulink sim command in an .m file? Is that possible using deploytool?

Accepted Answer

Andreas Goser
Andreas Goser on 30 Jan 2015
Edited: Andreas Goser on 30 Jan 2015
"deploytool" is part of the MATLAB Compiler product and 2 other products built on top of MATLAB Compiler.
The scope of those products is on creating apps based on MATLAB code.
Creating C-Code and stand-alone applications from Simulink models is possible, but requires other products. You may start to look at "Simulink Coder", but feel free contacting MathWorks for guidance.

More Answers (2)

SERGIO MORIGUCHI
SERGIO MORIGUCHI on 30 Jan 2015
thanks a lot for the answer. So the "sim" command that I have in my .m file will not work in a deployment process using "deploytool"?

Patrick Sautter
Patrick Sautter on 28 Apr 2016
Okay if you don't use "sim" as command to include simulink which command did you use? Or how you realized it?
  1 Comment
Andreas Goser
Andreas Goser on 29 Apr 2016
Likely by appying my guidance:
"Creating C-Code and stand-alone applications from Simulink models is possible, but requires other products. You may start to look at "Simulink Coder", but feel free contacting MathWorks for guidance."

Sign in to comment.

Categories

Find more on Verification, Validation, and Test in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!