MATLAB: Do I get the error ‘Implicit wakeup or tick events are invalid in charts with input events ‘tick” in Stateflow

chart;eventstateflowticktransition

I have a Stateflow Chart with an Input Event called 'tick', which I use on the transitions between the states in the chart.
I am trying to simulate my model, but I get the following error:
Implicit wakeup or tick events are invalid in charts with input events 'tick'' in Stateflow

Best Answer

The error is due to the fact that 'tick' is an implicit event provided by Stateflow:
Changing the name of the event will solve the issue, as the keyword 'tick' cannot be used.