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

TAB
TAB 2012년 9월 14일
편집: TAB 2012년 9월 14일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Decision Logic에 대해 자세히 알아보기

태그

질문:

2012년 9월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by