Error using Mex Command
1 view (last 30 days)
Show older comments
Error using mex
sundials_interface.c
C:\msys64\home\User\sundials\include\sundials\sundials_config.h(59): fatal error C1021: invalid preprocessor command 'cmakedefine'
I am getting this error. What should I do to rectify it.
Thanks!
0 Comments
Accepted Answer
Steven Lord
on 24 Mar 2025
If you're using release R2024a or later the ability to use SUNDIALS solvers is now available as part of MATLAB. You don't need to compile the MEX-files yourself to use them, just use the ode object.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!