搜索
查看: 8948|回复: 12

amesim与matlab联合仿真问题

  [复制链接]
发表于 2012-11-25 19:35:57 | 显示全部楼层 |阅读模式
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\matlab71/extern/include -ID:\Program Files\matlab71/simulink/include -ID:\amesim/interfaces/simulink -nologo -DWIN32 -MT -W3 -GX -Od -D "_MBCS" -Zm1500 -o erjitongbu1_.obj erjitongbu1_.c
Command line warning D4024 : unrecognized source file type 'Files\matlab71/extern/include', object file assumed
Command line warning D4027 : source file 'Files\matlab71/extern/include' ignored
Command line warning D4024 : unrecognized source file type 'Files\matlab71/simulink/include', object file assumed
Command line warning D4027 : source file 'Files\matlab71/simulink/include' ignored
erjitongbu1_.c
erjitongbu1_.c(1407) : warning C4101: 'i' : unreferenced local variable
erjitongbu1_.c(1941) : warning C4101: 'i' : unreferenced local variable
D:\amesim/interfaces/simulink\ame_simulink_cosim.c(86) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
System build error!
请问这个要怎么解决呢?
发表于 2012-11-25 21:51:39 | 显示全部楼层
环境变量或者路径没设置好吧,重新设置一遍试试
回复 支持 反对

使用道具 举报

发表于 2012-11-26 10:04:28 | 显示全部楼层
本帖最后由 tttotti 于 2012-11-26 10:18 编辑

Matlab安装问题,Matlab的安装路径上有空格
卸掉重新安装
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-26 13:18:10 | 显示全部楼层
tttotti 发表于 2012-11-26 10:04
Matlab安装问题,Matlab的安装路径上有空格卸掉重新安装

应该不是这个问题。我的是win7系统
回复 支持 反对

使用道具 举报

发表于 2012-11-26 14:41:58 | 显示全部楼层
ywbwzp 发表于 2012-11-26 13:18
应该不是这个问题。我的是win7系统

你确定Matlab的安装路径没有空格?
回复 支持 反对

使用道具 举报

发表于 2012-11-27 10:33:48 | 显示全部楼层
请问AMESim10.0需要哪个版本的Microsoft Visual C ,我需要用simulink
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-27 15:02:13 | 显示全部楼层
tttotti 发表于 2012-11-26 14:41
你确定Matlab的安装路径没有空格?

有空格。但是我同学的都可以,我的就不可以
回复 支持 反对

使用道具 举报

发表于 2012-11-28 19:06:21 | 显示全部楼层
在AMESim的help文档中有关于simstruc.h文件错误提示的产生原因和解决办法,看一下吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-11-29 13:59:53 | 显示全部楼层
tttotti 发表于 2012-11-28 19:06
在AMESim的help文档中有关于simstruc.h文件错误提示的产生原因和解决办法,看一下吧

已经解决了,谢谢。
回复 支持 反对

使用道具 举报

发表于 2012-11-29 14:15:26 | 显示全部楼层
ywbwzp 发表于 2012-11-29 13:59
已经解决了,谢谢。

楼主,如何解决的,什么问题?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则