"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!