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.

Answers (1)

Rajanya
Rajanya on 13 May 2025
'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.

Products

Asked:

on 16 Sep 2014

Answered:

on 13 May 2025

Community Treasure Hunt

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

Start Hunting!