Chart (StateFlow) input and output is the same signal

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.

Answers (1)

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.

Categories

Products

Release

R2021a

Asked:

on 3 Dec 2021

Answered:

on 19 Jul 2022

Community Treasure Hunt

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

Start Hunting!