MATLAB: Using “sec” keyword in temporal logic stateflow

"sec" keyword in stateflow

I am new to stateflow and using MATLAB 2012b. in my logic trying to use state transition condition as "after(10,sec)" on running the models, MATLAB giving error as unresolved symbol "sec". Could anybody please help me to resolve this issue?

Best Answer

Could you try out a shipped demo model to see if you are getting the same error?
On MATLAB Command window type the following and press enter
>> sf_tlafter
If this demo works fine type docsearch temporal logic using after to learn more on how to use this correctly. If not, please post the exact error messages that you are receiving with the shipped model.