Previously in Matlab Stateflow 7.1 all variables and functions had to be included before they can be referred to in the state diagram or else it would throw an error when you tried to parse the diagram.
But now in 7.7 it doesn’t catch those kinds of errors. Its still compiling the diagram because it catches other syntactic errors.
Am I missing an option somewhere? Can this be turned on?
The release notes to Stateflow 7.2 say:
So it looks like that you need to “start the simulation, update the model diagram, or invoke the model compilation process” to get the flags.