Stateflow code generation - how to generate void instead of static void functions?
이전 댓글 표시
Hi,
I'm using generated code from stateflow and noticed that subcharts were being generated as static void functions. This causes an issue for me as I am using the generated C file in tandem with other C files that need to call the functions from the MATLAB generated code - and static void functions cannot be called from other C files.
Is there a way to ensure the functions are generated as void, and not static void, in order for me to be able to use them with other c files?
댓글 수: 1
Duan Liquan
2017년 11월 10일
Have you solved this problem? I'm also confuse about this.
답변 (1개)
Mark McBroom
2017년 11월 13일
0 개 추천
You could try re-architecting your Stateflow code to use graphical functions. This link provides details.
카테고리
도움말 센터 및 File Exchange에서 Stateflow에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!