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

Can any one help me to solve this issue which occured while simulating stateflow model.
thanks in advance!!
regards
Sujith.

Answers (1)

You need to initialize fan_mode or you need to ensure that the fan logic function runs before the bottom left block.

Categories

Products

Community Treasure Hunt

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

Start Hunting!