photo

xianzhi gong


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to initialize static variable in C caller blocks during simulation
float func_1(void) { static float a = 0; a = a +1; return a; } Simulation setting Fixed step size = 0.1s. Run ...

2 years ago | 1 answer | 0

1

answer