simulink 库编译错误
来源:互联网 发布:java程序员为什么转行 编辑:程序博客网 时间:2024/06/08 00:36
I am new to Matlab and I am trying to mex .c files for the ADM1 model. I have the 64bit program and installed the Visio compiler. I did the mex -setup successfully but when I try to mex the .c files I get the following error message:
adm1_DAE1.c(19) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
C:\PROGRA~1\MATLAB\R2010B\BIN\MEX.PL: Error: Compile of 'adm1_DAE1.c' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
Anyone have any ideas what the problem is?
Thanks I found the mexopts.bat in C:\Users\*yourUsername*\AppData\Roaming\MathWorks\MATLAB\R2010b and added the string "%MATLAB%\simulink\include;" right after where it says "set INCLUDE = " so that it finally looks something like this
"set INCLUDE=%MATLAB%\simulink\include;%VCINSTALLDIR%\INCLUDE;%VCINSTALLDIR%\ATL
- simulink 库编译错误
- simulink
- Simulink
- Simulink
- 编写S-Function,创建Simulink模型并生成C++代码,编译生成可调用的动态库dll(From Simulink model to DLL A tutorial)
- simulink仿真错误:MATLAB Function Interface Error
- SIMULINK的模块库介绍
- matlab simulink 仿真时出现如下错误怎么办
- Simulink浏览器中创建自定义模块库
- simulink模块库的一些介绍
- OpenGL库编译相关错误
- 【ubuntu】QTE库编译错误
- 编译错误
- 编译错误
- 编译错误
- 编译错误
- 编译错误
- 编译错误
- Extjs多选下拉框multiSelect支持reset
- string和stringBuilder区别
- android 之 硬件传感器
- Erlang---启动参数学习/研究
- java的序列化是什么?为什么要序列化?
- simulink 库编译错误
- Jquery选择器
- erlang常用命令收集
- 如何运行和使用windows中隐藏的磁盘清理高级版本
- 《软件调试》学习笔记——003 (第一章 软件调试基础 part1)
- VC++中的句柄
- Mx One Antivirus免费杀毒软件-保护U盘等移动设备
- JNI编程:java 调用c++动态链接库
- Spring--简单使用quartz实现定时作业