Hi all,
I get the following error when trying to run a file written in C language :
Error using mex
matlab_interface.c
C:\Users\reach\Desktop\Thesis\Thesis\SoftManipulatorDynamics-master\dynamics.h(4): fatal error C1083:
Cannot open include file: 'gsl/gsl_matrix.h': No such file or directory
Any help would be appreciated.
Thank you

 채택된 답변

Jan
Jan 2021년 5월 12일
편집: Jan 2021년 5월 12일

0 개 추천

The message means, that the subfolder "gsl/" cannot be found. Then provide its base folder by the -I parameter. See: https://www.mathworks.com/help/matlab/ref/mex.html#btw17rw-1-option1optionN
Where is "gsl/gsl_matrix.h"?

댓글 수: 1

Ajai Singh
Ajai Singh 2021년 5월 12일
편집: Ajai Singh 2021년 5월 12일
Thank you,
The file is here:
C:\MinGW\msys\gsl-2.6\matrix

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

2021년 5월 12일

편집:

2021년 5월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by