getTflArgFromString
Create code replacement argument based on specified name and built-in data type
Description
creates a code replacement argument that is based on a specified name and built-in
or fixed-point data type.arg
= getTflArgFromString(hTable
,name
,datatype
)
The IOType
property of the created argument defaults to
'RTW_IO_INPUT'
, indicating an input argument. For an output
argument, change the IOType
value to
'RTW_IO_OUTPUT'
by directly assigning the argument
property.
This function does not support matrices. To create a matrix argument, use the
argument class RTW.TflArgMatrix
as shown in Small Matrix Operation to Processor Code Replacement, Matrix Multiplication Operation to MathWorks BLAS Code Replacement, and
Matrix Multiplication Operation to ANSI/ISO C BLAS Code Replacement.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2008a