setfimath
Attach fimath object to fi object
Syntax
Description
Y = setfimath(X,F)fi object Y with
          X’s numerictype and value, and attached
          fimath object
        F.
The Y = setfimath(X,F) syntax does not modify the input
          X. To modify X, use X =
          setfimath(X,F). This usage gives you more localized control over the
          fimath settings without making a data copy in the generated code.
 If you use setfimath in an expression, such as
          a*setfimath(b,F), the fimath object is used in the
        temporary variable, but b is not modified.
This function and the related removefimath function are useful for
        preventing errors about the fimath of both operands needing to be
        equal.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2012b
See Also
fi | fimath | fixed.fimathLike | removefimath
