필터 지우기
필터 지우기

How do I create a Stand Alone Application using Windows for a GUI that starts a Stateflow model?

조회 수: 2 (최근 30일)
I want to compile a GUI that calls a Stateflow Simulation. With this, I want to create a windows stand alone application using a windows executable so it can be used outside of Matlab; meaning giving it to someone that does not own Matlab and they can still run it. I tried the DEPLOYTOOL but it only was able to execute the GUI and not the Stateflow Simulation associated with the GUI. For the DEPLOYTOOL I used this video, http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/.
I looked online regarding doing this with Stateflow and came across building targets; simulation targets and real-time workshop targets. I am not sure if this is going to have to be associated with what I am trying to do. To give a general outline of my project: A GUI allows the user to pick a CSV data file to be simulated. A GUI allows the user to press a “Start Simulation” button. A Stateflow simulation is than started using the CSV data file selected. The Stateflow simulation than calls two plot functions.
Any guidance is greatly appreciated.
Thank you.

채택된 답변

TAB
TAB 2012년 12월 18일
Stateflow can not be opened standalone without Matlab. Stateflow runs under simulink environment and simulink runs under matlab environment.
If you want to integrate the behavior you gave implemented in stateflow, you can generated the code from it using Simulink Coder toolbox and integrate the generated code in your standalone code.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Stateflow에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by