fixpt_set_all
Set property for each fixed-point block in subsystem
Syntax
fixpt_set_all(
SystemName
,fixptPropertyName
,fixptPropertyValue
)
Description
fixpt_set_all(
sets the propertySystemName
,fixptPropertyName
,fixptPropertyValue
)fixptPropertyName
of every applicable block in the model or subsystem
to the valueSystemName
fixptPropertyValue
Examples
Set each fixed-point block in a modelFilter_1
to 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?