声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4917|回复: 6

[综合讨论] simulink 仿真出现的错误,急求大侠

[复制链接]
发表于 2010-12-7 16:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
仿真之后出来的错误提示,1,Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems。2,Input ports (Action) of 'xtco/If Action Subsystem2' are involved in the loop。后面还有好多错误提示,这里不一一说了,但大部分说是回路的问题。请问各位,我的模型里是哪一块出问题了呢?我感觉好像是If Action Subsystem的用法不对。希望大家给点意见啊! 222.jpg
回复
分享到:

使用道具 举报

 楼主| 发表于 2010-12-7 20:31 | 显示全部楼层
还有一个问题,不知道大家注意到图片中的虚线了么。。在仿真之前,这些线都是黑色的,可是仿真之后从if模块里出来的线就变成了红色的虚线。这到底是什么原因啊?是不是我的if模块用得不对?希望大家指点一下啊
发表于 2010-12-8 08:24 | 显示全部楼层
条件模块有问题 检查下
 楼主| 发表于 2010-12-8 16:26 | 显示全部楼层
回复 3 # yufeng 的帖子

有人说仿真后,条件模块出来是虚线是正常的。系统里其他的错误是Input ports (Action) of 'xtco/If Action Subsystem2' are involved in the loop。Input ports (1) of 'xtco/If1' are involved in the loop。以及好多类似于。。。。are involved in the loop。这样的句式的错误。这到底是怎么回事啊?是不是存在代数环?
 楼主| 发表于 2010-12-11 22:02 | 显示全部楼层
Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems。哪位高手说一下,我模型了的子系统哪里错了么?谢谢啊,找了很长时间都没有找到错误
 楼主| 发表于 2010-12-13 17:27 | 显示全部楼层
我在图左边的加减运算符号后面(不是在反馈上)加了一个memory模块,然后就可以运行了(但是时间很短有终止了),这是怎么回事呢?
发表于 2013-7-9 19:21 | 显示全部楼层
本帖最后由 willzhang 于 2013-7-9 19:43 编辑

我在模糊模块前面加一个memory就好了,我也不知道为什么。
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-4-29 04:27 , Processed in 0.064881 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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