필터 지우기
필터 지우기

Is it possible to reuse Stateflow subcharts in multiple Simulink models?

조회 수: 1 (최근 30일)
Matt
Matt 2014년 11월 11일
답변: Manuel 2014년 11월 12일
I am trying to create reusable Stateflow charts and it does not seem to be possible (R2009b SP1). The picture below is the simplest way to describe what I am trying to do. When I update "Shared_Chart" in "model_1.mdl", I would like it to also be updated in "model_2.mdl"
Is this possible in existing releases? If so, how can it be done? If not, how can this feature be requested for future releases?

답변 (1개)

Manuel
Manuel 2014년 11월 12일
Hi Matt
You can use the atomic subchart feature to reuse Stateflow subcharts in multiple Simulink models.
In a Stateflow chart, an atomic subchart is a graphical object that helps you reuse the same state or subchart across multiple charts and models: http://www.mathworks.com/help/stateflow/ug/what-is-an-atomic-subchart.html
I am not sure when this feature was added to Stateflow. You can check the release notes.
Regards, Manuel

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by