Error: The data ... was read before being written to

38 views (last 30 days)
Can any one help me to solve this issue which occured while simulating stateflow model.
thanks in advance!!
regards
Sujith.

Answers (1)

Walter Roberson
Walter Roberson on 5 Mar 2020
You need to initialize fan_mode or you need to ensure that the fan logic function runs before the bottom left block.

Categories

Find more on Complex Logic in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!