Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

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')
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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