BMM150 Magnetometer
R2026bLibraries:
Raspberry Pi Blockset /
Sensors /
IMU Sensors
Description
The BMM150 block outputs the values of magnetic field along x-, y- and z- axes as measured by the BMM150 sensor connected to Raspberry Pi® board.
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
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.
"raspberrypiIMUsensorslib/BMM150 Magnetometer"
Example: add_block("raspberrypiIMUsensorslib/BMM150 Magnetometer","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2022b
