Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Stateflow 和“后”条件实现了一个积分器(由分段恒流源驱动的接地电容器)。见代码。
在给定的设置下,电容器应该每 1 秒改变一次电压,但大约每 1.3 秒改变一次 - 为什么?
有关Stateflow 中的实现,请参阅我提交给File Exchange的内容。
仍在寻找 S-Function 实现。