How do I solve the error: C1083

7 次查看(过去 30 天)
Efrem Picco
Efrem Picco 2014-6-14
回答: Dekun Pei 2014-6-16
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
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by