Contenuto principale

wnet.Mobility Class

Namespace: wnet

Implement custom mobility model

Since R2026a

Description

Use the wnet.Mobility base class to implement a custom mobility model in a subclass.

The wnet.Mobility class is a handle class.

Class Attributes

Abstract
true

For information on class attributes, see Class Attributes.

Properties

expand all

Refresh interval, specified as a nonnegative numeric scalar. The wnet.Mobility class updates the position and velocity information once during this refresh interval, but only when a subclass of wnet.Node requests it. The units are in seconds. If you set RefreshInterval to 0, the node updates position and velocity information immediately whenever you request it.

Attributes:

GetAccess
public
SetAccess
protected

Data Types: double | single

Methods

expand all

More About

expand all

Version History

Introduced in R2026a