Main Content


Read information related to sensor

Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.


SensorInfo = info(sensorobj) returns the information related to the sensor.

Input Arguments

collapse all

The sensor object with the default or specified properties.

Output Arguments

collapse all

SensorInfo is a structure containing the information related to sensors. The information depends on the specific sensor object for which the function is called. The information can be output data rate (ODR), bandwidth, and so on.

Data Types: struct

More About

collapse all

Code Generation Using MATLAB Function Block

  • info function is not supported.

Version History

Introduced in R2019a