syntax error using roundn in fcn block

24 views (last 30 days)
William
William on 16 Sep 2014
Answered: Rajanya on 13 May 2025
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

Community Treasure Hunt

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

Start Hunting!