Craig Thalhauser in MATLAB Answers
Last activity on 11 Jun 2025

Sometimes when I try to create and compile a SimFunction, the following error happens: Unable to create SimFunction: --> Error reported from ODE Compilation: Not enough input arguments. Caused by: Error using SimBiology.internal.compile --> Error reported from ODE Compilation: Not enough input arguments. The code file will run in other versions of MATLAB (e.g. I just got this error in R2023a, but it runs fine on R2022b).