Filter löschen
Filter löschen

Simulink Coder - Customizing stateflow generated code varaibles

1 Ansicht (letzte 30 Tage)
Joseph Stalin
Joseph Stalin am 15 Mär. 2013
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 Kommentar
Joseph Stalin
Joseph Stalin am 15 Mär. 2013
Ex:Gen code for stateflow local variables. fclr_init() { str.var1 =1; str.var2 =1;
}
fclr() { int var3; }

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by