Fixed point data type tab visibility for System objects
flag = showFiSettingsImpl
flag = showFiSettingsImpl
specifies whether
the Data Types tab appears on the MATLAB® System block dialog
box. The Data Types tab includes parameters to control processing
of fixed point data the MATLAB System block. You cannot specify
which parameters appear on the tab. If you implement showFiSettingsImpl
,
the simulation mode is set code generation.
showFiSettingsImpl
is called by the MATLAB System
block.
The parameters that appear on the Data Types tab, which cannot be customized, are
Saturate on integer overflow is a check box to control the action to take on integer overflow for built-in integer types. The default is that the box is checked, which indicates to saturate. This is also the default for when Same as MATLAB is selected as the MATLAB System fimath option.
Treat these inherited Simulink signal types
as fi objects is a pull down that indicates which inherited
data types to treat as fi data types. Valid options are Fixed
point
and Fixed point & integer
.
The default value is Fixed point
.
MATLAB System fimath has two
radio button options: Same as MATLAB and Specify
Other. The default, Same as MATLAB,
uses the current MATLAB fixed-point math settings. Specify
Other enables the edit box for specifying the desired fixed-point
math settings. For information on setting fixed-point math, see fimath
,
in the Fixed-Point
Designer™ documentation.
If you do not want to display the tab, you do not need to implement this method in your class definition file.
You must set Access = protected
and Static
for
this method.
|
Flag indicating whether to display the Data Types tab on the MATLAB
System block mask, returned as a logical scalar value. Returning
a Default: |