__codegen_infer_types__
- :
T =__codegen_infer_types__(fcn, argtypes)¶ Infer types for every variable in a restricted entry-point function.
fcn is the name of a user function on the path. argtypes is a cell array of example values or structs with fields
ClassName,SizeVector,VariableDimsandComplex(as produced bycoder.typeof/coder.newtype).The result T is a scalar struct with fields:
Function— entry-point nameVariables— scalar struct, one field per variable, each a type descriptor (ClassName,SizeVector,VariableDims,Complex,Shape)
The engine covers double/single/int