I can't use deploytool with simulink

I want to use simulink in an .exe file can I use simulink sim command in an .m file? Is that possible using deploytool?

 采纳的回答

Andreas Goser
Andreas Goser 2015-1-30
编辑:Andreas Goser 2015-1-30
"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.

更多回答(2 个)

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"?
Okay if you don't use "sim" as command to include simulink which command did you use? Or how you realized it?

1 个评论

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."

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by