Convert a camera parameters object into a struct
paramStruct = toStruct(cameraParams)
paramStruct = toStruct(
returns
a struct containing the camera parameters in the cameraParams
)cameraParams
input object. You can use the struct to create an identical
cameraParameters
object. Use the struct for C code generation. You can
call toStruct
, and then pass the resulting structure
into the generated code, which re-creates the cameraParameters
object.