QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

查看: 1903|回复: 1
收起左侧

[求助] AMESIM和MATLAB的联合仿真时出现的问题

[复制链接]
发表于 2010-10-13 15:30:44 | 显示全部楼层 |阅读模式 来自: 中国河北秦皇岛

马上注册,结识高手,享用更多资源,轻松玩转三维网社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x
我用的是MATLAB2008a,AMESIMRev8a,做完软件的接口设置后,用AMESIM里自带的联合仿真的例子做练习,编译的时候出现错误如下
& J- l% {. F' z$ j5 j, b  p/ Q% GSetting environment for using Microsoft Visual C++ tools.
9 M- I, Y$ Y. I' NMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0 % I, R3 G, @: M# s' [3 @& R
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. + R4 Z7 ^+ W2 J& Y0 H$ o
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
$ w% F$ h; U# i2 L4 G5 |Command line warning D4024 : unrecognized source file type 'Files\MATLAB/extern/include', object file assumed 8 t6 W# f/ W3 K1 |& h; E9 {3 f
Command line warning D4027 : source file 'Files\MATLAB/extern/include' ignored
4 S5 f  \2 Z5 m# A, mCommand line warning D4024 : unrecognized source file type 'Files\MATLAB/simulink/include', object file assumed + n$ j' h( `4 D! P. ]/ C& @( u
Command line warning D4027 : source file 'Files\MATLAB/simulink/include' ignored
% E* y# O2 {! G$ n4 GAMESimulinkCosimulation_.c
+ H4 g1 g, g  H0 nAMESimulinkCosimulation_.c(888) : warning C4101: 'n' : unreferenced local variable
+ P1 w6 k6 v8 kNMAKE : fatal error U1077: 'cl.exe' : return code '0x2' & ?# y3 u+ U" w! P" m; M) \
Stop.
+ y8 g" u: a  A0 p/ UD:\AMESIM/interfaces/simulink\ame_simulink_cosim.c(86) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory   I3 q2 _; ~# I$ X6 V: N8 J- P) I
- 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 3 {4 d/ \& q* X1 H9 U
System build error! & J0 J* t5 D5 C6 r+ I
' }1 R3 a9 q% c' ?
打开creater interface icon 之后type of interface 中没有simulink呢?谁知到这是怎么回事啊?谢谢了
55.jpg
发表于 2010-10-13 22:06:42 | 显示全部楼层 来自: 中国北京
type of interface 中没有simulink,那就是你软件的问题吧
. Q' G5 H8 a% G% D' U+ ?截个图看看
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


Licensed Copyright © 2016-2020 http://www.3dportal.cn/ All Rights Reserved 京 ICP备13008828号

小黑屋|手机版|Archiver|三维网 ( 京ICP备2023026364号-1 )

快速回复 返回顶部 返回列表