主要内容

insCFOptions

Options for configuration of insCF object

Since R2026a

    Description

    The insCFOptions object specifies properties for an insCF object.

    Creation

    Description

    options = insCFOptions returns an insCFOptions object with default property values.

    options = insCFOptions(PropertyName=Value) set properties using one or more name-value arguments. For example, ReferenceFrame="ENU" sets the reference frame used in the insCF object as the east-north-up (ENU) frame. Unspecified properties have default values.

    example

    Properties

    expand all

    Data type of insCF variables, specified as "single" or "double". This data type applies to variables such as state and other internal variables.

    Reference frame of the insCF object, specified as "NED" for the north-east-down frame or "ENU" for the east-north-up frame.

    Examples

    collapse all

    Create an insCFOptions object, and specify the reference frame as "ENU".

    options = insCFOptions(ReferenceFrame="ENU")
    options = 
      insCFOptions with properties:
    
              Datatype: 'double'
        ReferenceFrame: ENU
    
    

    Create an insCF filter object with accelerometer and gyroscope sensor models. Specify the properties of the filter using the insCFOptions object. In the created filter, verify that the reference frame is east-north-up.

    filter = insCF(insCFAccelerometer,insCFGyroscope,options)
    filter = 
      insCF with properties:
    
               Sensors: {[1×1 insCFAccelerometer]  [1×1 insCFGyroscope]}
           SensorNames: {'Accelerometer'  'Gyroscope'}
           MotionModel: [1×1 insCFMotionOrientation]
        ReferenceFrame: 'ENU'
    
    

    Extended Capabilities

    expand all

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2026a

    See Also

    Objects