Deploying shallow Neural Networks on low power ARM Cortex M
In this example we illustrate a MATLAB and Simulink workflow on how to train and deploy a machine learning model to a low-power microcontroller on the edge. We demonstrate how to train a shallow neural network for a regression problem, how to generate readable single precision floating point or Fixed-point code and how to deploy to an ARM cortex M microcontroller such as an Arduino Uno.
We use the engine dataset for estimating engine emission levels based on measurements of fuel consumption and speed. This is a regression problem and we use a shallow neural network to model the system.
The download contains the example dataset, the trained model exported as a MATLAB function and an equivalent Simulink model and a detailed article explaining the workflow steps. It also contains all the required scripts to automate some of the tasks.
Cite As
MathWorks Fixed Point Team (2024). Deploying shallow Neural Networks on low power ARM Cortex M (https://www.mathworks.com/matlabcentral/fileexchange/67799-deploying-shallow-neural-networks-on-low-power-arm-cortex-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
NN_ARM_Cortex_M_Fixpt/MATLAB_algorithm
NN_ARM_Cortex_M_Fixpt/Simulink_model
NN_ARM_Cortex_M_Fixpt/Simulink_model
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.1 | Updated the readme.txt |
|
|
1.0.0.0 |
|