syntax error using roundn in fcn block

I got a syntax erro message on fcn block when I used roundn(u,3) in my Simulink model. Please advise.
Thanks.

回答 (1 件)

Rajanya
Rajanya 2025 年 5 月 13 日

0 投票

'roundn' is not mentioned in the list of supported functions in Simulink Fcn Block - see here. Hence, it would always throw a syntax error.
Thanks.

カテゴリ

製品

質問済み:

2014 年 9 月 16 日

回答済み:

2025 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by