I have a problem with simulink stateflow?

6 ビュー (過去 30 日間)
Srikanthan Sanjey
Srikanthan Sanjey 2023 年 4 月 19 日
編集済み: Manoj Mirge 2023 年 5 月 16 日
I want to genrate a Code for my subsystem and i get a error which says " Invalid use of Simulink based state 'E5_2_zu_A4_0' in Chart with Simulink PLC Coder."
I tried to trasfer a value from a input to a other output. In this picture das was in a subchart i have use the simulink state to create it.
I hope you can help me out with.

回答 (1 件)

Manoj Mirge
Manoj Mirge 2023 年 5 月 16 日
編集済み: Manoj Mirge 2023 年 5 月 16 日
Currently the Simulink states are not supported by Simulink PLC Coder or HDL Coder.
I suggest you change the model to implement its desired behaviour without use of Simulink States. As a workaround you can remodel Simulink States as a MATLAB action state.
You can read more on MATLAB action state in the below attached link :

カテゴリ

Help Center および File ExchangeSimulink PLC Coder についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by