Main Content


Create copy of insfitlerNonholonomic

Since R2020b



newFilter = copy(filter) returns a copy of the insfilterNonholonomic, filter, with the exactly same property values.


collapse all

Create an insfilterNonholonomic object.

filter = insfilterNonholonomic;

Create a copy of the filter.

filterCopy = copy(filter);

Change the IMU sample rate of the original filter to be 10 Hz.

filter.IMUSampleRate = 10;

Verify the IMU sample rate of the copied filter has the default value, 100 Hz.

ans = 100

Input Arguments

collapse all

Filter to be copied, specified as an insfilterNonholonomic object.

Output Arguments

collapse all

New copied filter, returned as an insfilterNonholonomic object.

Extended Capabilities

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

Version History

Introduced in R2020b