Main Content
toStruct
Convert a camera parameters object into a struct
Description
returns a struct containing the camera parameters in the paramStruct
= toStruct(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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a