I am using a variable step solver, say ode15s, to simulate my model in Accelerator mode. I receive the following compile-time errors:
<SNIP> mymodel.c mymodel.c(142) : error C2065: 'localXdis' : undeclared identifier mymodel.c(142) : error C2223: left of '->Integrator_CSTATE' must point to struct/union mymodel.c(145) : warning C4020: 'case_ex_c0' : too many actual parameters mymodel.c(150) : error C2223: left of '->Integrator_CSTATE' must point to struct/union mymodel.c(153) : warning C4020: 'case_ex_c0' : too many actual parameters mymodel.c(165) : error C2223: left of '->Integrator_CSTATE' must point to struct/union mymodel.c(171) : error C2223: left of '->Integrator_CSTATE' must point to struct/union <SNIP>
Best Answer