ICM20948 IMU Sensor
R2026bMeasure linear acceleration, angular velocity, magnetic field, and temperature from ICM20948 IMU sensor
Since R2022a
Libraries:
Simulink Support Package for Arduino Hardware /
Sensors
Description
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
The ICM20948 IMU Sensor block outputs the values of linear acceleration, angular velocity, and magnetic field strength along x-, y- and z- axes as measured by the ICM20948 IMU sensor connected to Arduino board. The block also outputs the temperature as read by the ICM20948 IMU sensor.
Examples
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"arduinosensorlib/ICM20948 IMU Sensor"
Example: add_block("arduinosensorlib/ICM20948 IMU Sensor","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2022a
