フィルターのクリア

"out of bounds" error with floor/fix rounding in matlab function block in Simulink

1 回表示 (過去 30 日間)
Rod
Rod 2013 年 8 月 28 日
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
Kaustubha Govind 2013 年 8 月 28 日
Could you please paste a code snippet to show how you're calling the function?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by