필터 지우기
필터 지우기

if block sample time error

조회 수: 1 (최근 30일)
NAKUL
NAKUL 2022년 11월 16일
답변: Brian 2022년 11월 18일
Hello, im running an ifblock and if action system, with an MPC controller. IM getting the following error related to sample time, which if i can sort it out will be really helpful
any insights or solutions to this?

답변 (1개)

Brian
Brian 2022년 11월 18일
All blocks in an If Action Subsystem block must execute at the same rate as the driving If block. You can satisfy this requirement by setting the sample time parameter for each block to either inherited (-1) or the same value as the If block sample time.
In your case, it seems like enabling the "Inherit sample time" from the "Others" tab of your MPC Controller's block options may also help resolve this.

카테고리

Help CenterFile Exchange에서 Controller Creation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by