I am trying to convert a model to S-function executable, but discovered that while the generated code honors some instances of the parameters (via mxGetData() calls), in other calculations the values of the default, dummy, model workspace variables (required to define ref model arguments) are hard-wired.
How can I get the autocoded code to honor the run-time parameter values exclusively?
Best Answer