convertToSingle
Convert double-precision MATLAB code to single-precision MATLAB code
Syntax
Description
convertTosingle
generates single-precision MATLAB® code from the specified function or functions. When you use this
syntax, you must provide a test file that options
fcn
_1,
..., fcn
_nconvertToSingle
can
use to determine the properties of the input parameters. To specify the test file,
use coder.config('single')
to create a coder.SingleConfig
object. Specify the
TestBenchName
property.
Examples
Input Arguments
Version History
Introduced in R2015b