Simulink Coder - Customizing stateflow generated code varaibles

Dear Techies, I am using stateflow model and Simulink coder for code generation. I have configured few variables as local in stateflow. On code generation some variables are generated as structure variables. Some as local variables. How to control the code genetation to get all the stateflow local variables as structure variables.
Please help me. regards, Joseph

댓글 수: 1

Ex:Gen code for stateflow local variables. fclr_init() { str.var1 =1; str.var2 =1;
}
fclr() { int var3; }

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

답변 (0개)

카테고리

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

질문:

2013년 3월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by