How to convert Stateflow model to Simulink model?

조회 수: 6 (최근 30일)
Vandhana
Vandhana 2011년 7월 25일
Pls help me in converting "Stateflow" (chart or Truth table) to "Simulink" model
  댓글 수: 1
Arnaud Miege
Arnaud Miege 2011년 7월 25일
Why? A Stateflow chart (or truth table for matter) can only exist in a Simulink model.

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

채택된 답변

Andreas Goser
Andreas Goser 2011년 7월 25일
A Stateflow chart cannot be converted into a Simulink model. Based on my experience, the are two reasons why one asks such a question.
1. Project partner has no Stateflow license and has no need to modify the Stateflow part of the model. Here you could create an S-Function using Simulink Coder.
2. Stateflow capabilities are not leveraged and an implementation in Simulink is also possible. Still - no automatic converting possible.
  댓글 수: 3
Joaquim Da Costa
Joaquim Da Costa 2012년 11월 13일
if a simulink model contains a stateflow chart and the partner does not have a stateflow license, that does mean the partner cannot simulate the model ?
Andreas Goser
Andreas Goser 2012년 11월 14일
In those use cases project partners typically get Simulink Coder generated S-Function. Then your IP if protected.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by