各位前辈,对一个速度​输入在不同范围输入到​不同的subsyst​em,求助怎么做,拜​谢。

速度v在-0.5到0.5,在速度为v1(0.025到0.5)时输入到subsystem1;
在速度为v2(0到0.025)时输入到subsystem2;
在速度为v3(-0.025到0)时输入到subsystem3;
在速度为v4(-0.5到-0.025)输入到subsystem4。
拜谢!

 채택된 답변

dihodor
dihodor 2022년 11월 27일

0 개 추천

除了将这个输入连接到各个子系统外,你还需要一个操作,就是将这些子系统转变为if action subsystem。
然后添加if模块。当某个速度条件满足时,出发对应的subsystem。

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 子系统에 대해 자세히 알아보기

태그

질문:

2022년 11월 27일

답변:

2022년 11월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!