- 积分
- 369
- 注册时间
- 2009-12-16
- 最后登录
- 1970-1-1
|
我用的是MATLAB2008a,AMESimRev8a,做完软件的接口设置后,用AMESIM里自带的联合仿真的例子做练习,编译的时候出现错误如下
Setting environment for using Microsoft Visual C++ tools.
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe -c -DWIN32 -DAMESIMULINK -ID:\Program Files\MATLAB/extern/include -ID:\Program Files\MATLAB/simulink/include -ID:\AMESIM/interfaces/simulink -nologo -DWIN32 -MTd -W3 -Zi -Od -D "_DEBUG" -D "_MBCS" -GX -Zm1500 -o AMESimulinkCosimulation_.obj AMESimulinkCosimulation_.c
Command line warning D4024 : unrecognized source file type 'Files\MATLAB/extern/include', object file assumed
Command line warning D4027 : source file 'Files\MATLAB/extern/include' ignored
Command line warning D4024 : unrecognized source file type 'Files\MATLAB/simulink/include', object file assumed
Command line warning D4027 : source file 'Files\MATLAB/simulink/include' ignored
AMESimulinkCosimulation_.c
AMESimulinkCosimulation_.c(888) : warning C4101: 'n' : unreferenced local variable
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
D:\AMESIM/interfaces/simulink\ame_simulink_cosim.c(86) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
- For free edition of Microsoft Developer Studio, you may need to set the MSSDK environment variable to the installation directory of your MS Windows SDK
System build error!
打开creater interface icon 之后type of interface 中没有simulink呢?谁知到这是怎么回事啊?谢谢了 |
-
|