matlab 提示 Continuous sample time is not supported by discrete derivative 错误的解决办法

Simulink仿真的时候,出行错误提示:Continuous sample time is not supported by discrete derivative
在这里插入图片描述
中文意思是:连续采样时间不支持离散导数;
发现正弦波信号的采样时间设置为0,所以相当于连续的模拟信号;
在这里插入图片描述
解决办法
修改Sample time
在这里插入图片描述

原文地址:https://www.cnblogs.com/unclemac/p/12783350.html