This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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

Introduced before R2006a