Documentation

fixpt_set_all

Set property for each fixed-point block in subsystem

Syntax

fixpt_set_all(SystemName,fixptPropertyName,fixptPropertyValue)

Description

fixpt_set_all(SystemName,fixptPropertyName,fixptPropertyValue)sets the propertyfixptPropertyNameof every applicable block in the model or subsystemSystemNameto the valuefixptPropertyValue

Examples

Set each fixed-point block in a modelFilter_1to round towards the floor and saturate upon overflow:

% Round towards the floor fixpt_set_all('Filter_1','RndMeth','Floor') % Saturate upon overflow fixpt_set_all('Filter_1','DoSatur','on')

Introduced before R2006a

Was this topic helpful?