Chart (StateFlow) input and output is the same signal

2 次查看(过去 30 天)
How can I use the same signal as iput and output of the Chart?
The chart do not allow define the same name for Input port and Output port.
Is there some way how I can 'say' to the Chart object, that the signal on Input and also on Output is the same?
Thanks you.

回答(1 个)

Muthukumar Ganesan
Muthukumar Ganesan 2022-7-19
Hi,
You cannot use ports to update same signal in stateflow whereas you can add a stateflow data and configure it to "Data Store Memory". In the Data store memory block, the corresponding signal should be mapped.
Thanks.

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by