How come the autocode tool has grouped some assignments inside state flow into a function?

I have been improving my state flow and the code autocoded so far is what I expected. But today, after only adding one more enumeration variable and assigning it different values in different states, I have seen the autocoded code has grouped one area of multiple assignments into one function. I am not sure if this happens because the state flow size has reached to some point. I really don't like the grouped function without my control. Any ideas? Thanks.

Answers (0)

This question is closed.

Tags

Asked:

on 16 Nov 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!