Documentation Center

  • Trials
  • Product Updates

Contents

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 property fixptPropertyName of every applicable block in the model or subsystem SystemName to the value fixptPropertyValue

Examples

Set each fixed-point block in a model Filter_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')
Was this topic helpful?