Main Content

RT.DriverImage

Represent a binary image of device driver for real-time kernel

Since R2023b

Description

An RT.DriverImage object represents a binary image of a device driver for the real-time kernel. The kernel uses this object for loading the device driver. You can use this object to get property information about the device driver.

Creation

Use the RT.DriverImage function to create an RT.DriverImage object that represents a binary image of a device driver for the real-time kernel. See Create Driver Image and Get Property Values.

Properties

expand all

The name of the device driver image.

The InterfaceVersion property provides the device driver image version as a 1-by-2 array.

The DefaultParameters property provides the device driver image default parameters as a double.

The BusInfo property provides the device driver image bus information as a 1-by-1 array.

The IOCapabilities property provides the device driver image I/O capabilities as a 1-by-1 array.

Object Functions

Examples

collapse all

This example shows how to create an RT.DriverImage object and get device driver image property values for the RT.DriverImage object.

Create a variable that represents the device driver image, then get the Name property value.

myDriverImage = RT.DriverImage('Standard Devices/UDP Protocol');
myDriverImage.Name
ans =

    'Standard Devices/UDP Protocol'

Version History

Introduced in R2023b