fixpt_set_all - Set property for every fixed-point block in subsystem

Syntax

fixpt_set_all(SystemName,fixptPropertyName,fixptPropertyValue)

Description

fixpt_set_all sets the property fixptPropertyName of every applicable block in the model or subsystem SystemName to the value fixptPropertyValue.

Examples

To set every fixed-point block in a model called Filter_1 to round toward the floor and to saturate upon overflow, type

fixpt_set_all('Filter_1','RndMeth','Floor')
fixpt_set_all('Filter_1','DoSatur','on')
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS