Error using Mex Command

조회 수: 3 (최근 30일)
Ajinkya
Ajinkya 2025년 3월 24일
댓글: Ajinkya 2025년 3월 24일
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!

채택된 답변

Steven Lord
Steven Lord 2025년 3월 24일
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.
  댓글 수: 1
Ajinkya
Ajinkya 2025년 3월 24일
I am aware of that but i still want to use the other solvers of SUNDIALS. I am using Copilot to write the code but facing this error.
Also, it will be a learning activity for me.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by