configure clock in simulink to inherit the sample time
조회 수: 4 (최근 30일)
이전 댓글 표시
I am trying to use the clock block inside a subsystem which has a function call generator, this results in the error 'clock has sample time [0, 0]. Only constant (inf) or inherited (-1) sample times are allowed in function call subsystem'. How to get rid of this?
댓글 수: 0
채택된 답변
rubindan
2020년 7월 13일
To get arround it you can put the clock block outside this subsystem and creatre an additional input for the clock time.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!