|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
在用matlab进行仿真时,出现了这样的问题,烦请大伙看看,这是什么原因?
将一个正弦波形进行采样保持,送到多路选择开关里面的一个输入端口,进行仿真时出现了问题,matlab显示Zero-Order Hold的错误如下:
Illegal rate transition found involving Zero Order Hold 'shanqu/Subsystem/Zero-Order Hold'. When using it to transition rates, the input must be connected to the fast sample time and the output must be connected to the slow sample time. The Zero Order Hold must have a sample time equal to slow sample time and the slow sample time must be a multiple of the fast sample time. Also, the sample times of all sources must be the same value.
显示多路选择开关的错误如下:
Illegal rate transition found involving 'shanqu/Subsystem/Multiport Switch2' at input port 5. A Rate Transition must be inserted between them
但是我将采样保持Zero-Order Hold去掉,直接把数据送到多路选择开关,仿真又正常,请问这是什么原因啊.会不会是采样保持的速率(0.001)和多路选择的速率(0.02/6)不一样所致啊, |
|