simulink中除法模块出现inf。
조회 수: 22 (최근 30일)
이전 댓글 표시
채택된 답변
fefiyi
2022년 11월 27일
从这部分模型来看,没有中间状态量。
如果是简单的没有状态量的控制模型,在碰到除法的时候,尽量在除法之前添加防除0操作。
比如在Add2后面添加一个Swith模块,当Add2算出来的值是0,那么我们就用一个设定好的默认值。
如果算出来的不是0,就可以直接计算除法。
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!