AMESIM和MATLAB的联合仿真时出现的问题
我用的是MATLAB2008a,AMESIMRev8a,做完软件的接口设置后,用AMESIM里自带的联合仿真的例子做练习,编译的时候出现错误如下Settingenviro...
我用的是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呢?谁知到这是怎么回事啊?谢谢了 展开
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呢?谁知到这是怎么回事啊?谢谢了 展开
2个回答
展开全部
你的Microsoft Developer Studio安装的是什么版本? 这个通常是外部的编译器引起的。
你需要看一下他们的环境配置,在introduction里面有这个章节。
Matlab与外部软件即可,最重要是把环境配置好。
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
你需要看一下他们的环境配置,在introduction里面有这个章节。
Matlab与外部软件即可,最重要是把环境配置好。
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
展开全部
打开creater interface icon 之后type of interface 中没有simulink是因为你的AMESim的补丁没有破解完全,网上有这个破解的补丁,http://bbs.iyeya.cn/forum.php?mod=viewthread&tid=4505&page=2&authorid=10556 我当时就是这么解决的。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询