From: Christian Komposch on 14 Apr 2010 03:31 Hi, I have a problem with Matlab Simulink R2007b. I don't want to have local stack variables in my autocode generated with RTW. Uncheck the box "Local Block Outputs" eliminates almost every local stack variables. But there are a few left. These variables are the iteration variables of a For-Iteration-Subsystrem. For example: uint8_t s1_iter; for(s1_iter = 0; s1_iter < 8; s1_iter++) { .... } Is there a possibility to remove them from stack and make them global? Thanks in advance! C. Komposch
|
Pages: 1 Prev: Timer to PWM duty cycles in Simulink Next: While loop final value check for ODE45 system |