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.

Réponses (1)

Rajanya
Rajanya le 13 Mai 2025

0 votes

'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.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by