From: Jessica on 17 May 2010 06:08 I have a model with inputs, outputs, and a list of parameters. I will be generating C++ code from this model. In the model, I am dividing 2 parameters. These parameters are not inlined because I would like to be able to access them outside the main code in a structure. Because I have the model configured this way, the generated code divides the 2 parameters at every pass and I would like to change this. I know I could use a block to detect a change and then calculate if there is but is there a better way for efficiency purposes? Maybe some way to set the properties of the division block or parameters themselves to access a preprocessed value of the division of the 2 parameters? Thanks for ideas!
|
Pages: 1 Prev: fatal error C1083: Cannot open include file: 'complex.h' Next: Clock within atomic subsytem |