Share Fixed-Point Models
You can edit a model containing fixed-point blocks without having Fixed-Point Designer™. However, you must have Fixed-Point Designer to:
Update a Simulink® diagram (Ctrl+D) containing fixed-point data types
Run a model containing fixed-point data types
Generate code from a model containing fixed-point data types
Log the minimum and maximum values produced by a simulation
Automatically scale the output of a model
If you do not have Fixed-Point Designer, you can work with a model containing Simulink blocks with fixed-point settings as follows:
set_param(gcs, 'DataTypeOverride', 'Double',... 'DataTypeOverrideAppliesTo','AllNumericTypes',... 'MinMaxOverflowLogging','ForceOff')
If you use
fi
objects or embedded numeric data types in your model, set thefipref
DataTypeOverride
property toTrueDoubles
orTrueSingles
(to be consistent with the model-wide data type override setting) and theDataTypeOverrideAppliesTo
property toAll numeric types
.For example, at the MATLAB® command line, enter:
p = fipref('DataTypeOverride', 'TrueDoubles', ... 'DataTypeOverrideAppliesTo', 'AllNumericTypes');
Note
If you use fi
(Fixed-Point Designer) objects
or embedded numeric data types in your model or workspace, you might
introduce fixed-point data types into your model. You can set fipref
(Fixed-Point Designer) to prevent the checkout of
a Fixed-Point Designer license.