AMESIM和MATLAB的联合仿真时出现的问题

浏览:149338 回答: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呢?谁知到这是怎么回事啊?谢谢了
95eef01f098e41bde0fe0b8b.jpg
邀请回答 我来回答

全部回答

(1)
默认 最新
nlw3025224
你的AMESim软件没有安装好,重装下补丁。
你的VC++需要重新安装。
2012年7月21日
评论 点赞

没解决?试试专家一对一服务

换一批
    App下载
    技术邻APP
    工程师必备
    • 项目客服
    • 培训客服
    • 平台客服

    TOP