how can I model function calls in state flow when there are parameters in the function call

In the original C code, this sw module has a API named notifyTime(uint8 time). It passes the new value of time to the application.But when I try to model it in stateflow, I got stuck here. Can anybody tell me how to model it so that other modules should be OK to call this API and change the value. As I dig into stateflow user manual, I found the so call 'function-call' trigger contain no parameter... Thank you very much.

1 Comment

Inputs can be passed to the chart through input ports. Is there any problem with it.
Or, are you trying to integrate C - code in the chart ?
Please clarify your question.

Sign in to comment.

Answers (0)

Categories

Find more on Decision Logic in Help Center and File Exchange

Tags

Asked:

on 13 Sep 2012

Community Treasure Hunt

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

Start Hunting!