How do I solve the error: C1083

I would like to know how to solve this problem. I'm trying to mex an S-function wrote for a Simulink experiment, and when i mex the file .c on Matlab it doesn't work correctly.
This is the error: IM_ctrl.c(20) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory

답변 (1개)

Dekun Pei
Dekun Pei 2014년 6월 16일

0 개 추천

I would suggest first checking the following bug report. It is related to having a space in your installation path of MATLAB and it causes "mex" to fail to find the correct head file include path.

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

제품

태그

질문:

2014년 6월 14일

답변:

2014년 6월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by