How do I generate a windows standalone from my simulink model?

Hello, I tried using deploytool: * wrote a small script for the main function to load the model and run it. * wrote another script to format the output and send to an excel file
After building, I tried running the executable. It appears to run but no results are generated in the excel sheet specified.
Do I have to create a GUI or something?
Thanks

 채택된 답변

Andreas Goser
Andreas Goser 2013년 1월 8일
편집: Andreas Goser 2013년 1월 8일

2 개 추천

Generating C Code and stand-alone applications from Simulink models-> Simulink Coder (Formerly Real-Time Workshop). Note other applications may need Embedded Coder.
Generating C Code from MATLAB code -> MATLAB Coder
Generating stand-alone applications from MATLAB -> MATLAB Compiler (and Builder products)

댓글 수: 6

My "Answer" is the generic statement. You may need something specific. Maybe you want a MATLAB as well as a stand-alone application. There are discussions around this on the internet.
Thanks a lot!
Hi,
Now I am working with Matlab Simulink. I have a very complicated simulation with Simulink. So I want to make it like a standalone program, which can be run even I do not have Matlab installed. Can you give me any hint? Is Matlab Coder and Compiler is a toolbox? Thanks a lot.
BR Emma
Buer: To generate code from Simulink models, you need Simulink Coder or Embedded Coder as Andreas mentioned. And yes, both these products generate completely standalone code.
Can you give me any further information? I even do not have this toolbox in my Matlab. Any guide to use it? How it works ? Thanks!
The product page has link to the documentation and examples. You might need to contact your Admin or MathWorks Sales Contact to purchase the product(s). I don't know a lot about the Sales side of things, but I usually direct people to MathWorks Support.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Embedded Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by