How can I generate ST-code by Simulink-PLC-Coder, where variables are unique and not multiple used?

2 views (last 30 days)
Within the ST-code several variables are used several times and therefore overwritten within one time step. I would like to use each variable only for one instance, so that it keeps its value.

Answers (0)

Categories

Find more on Simulink PLC Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!