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 comentario

TAB
TAB el 14 de Sept. de 2012
Editada: TAB el 14 de Sept. de 2012
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Decision Logic en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 13 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by