Simulink Coder - Customizing stateflow generated code varaibles

조회 수: 1 (최근 30일)
Joseph Stalin
Joseph Stalin 2013년 3월 15일
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
Joseph Stalin
Joseph Stalin 2013년 3월 15일
Ex:Gen code for stateflow local variables. fclr_init() { str.var1 =1; str.var2 =1;
}
fclr() { int var3; }

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by