"out of bounds" error with floor/fix rounding in matlab function block in Simulink
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I wish to use a rounding function (floor or fix) in a matlab function block, in order to generate an array index from a floating point value.
However, I get an "out of bounds" error, pointing to the line with said rounding function.
How can I use one of these functions in a Matlab function block?
댓글 수: 1
Kaustubha Govind
2013년 8월 28일
Could you please paste a code snippet to show how you're calling the function?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!