Image classification on an ARM Cortex M Microcontroller

Prototyping and Deploying a neural network for image classification using MNIST data on an ARM Cortex M Microcontroller

You are now following this Submission

In this example, we have a Simulink model based on the shallow network with five layers described in Loren’s blog below for image classification using MNIST data:
https://blogs.mathworks.com/loren/2015/08/04/artificial-neural-networks-for-beginners/
We have three versions of the model – in double precision, single precision and a fixed-point version. These models can then be tested using live data from an Arduino Due using the Simulink® Support Package for Arduino® Hardware and deployed to the Arduino board as a standalone application.
The single precision and fixed-point versions were generated using Fixed-Point Designer as described in the links below. The fixed-point model uses no more than 16 bits and the accuracy of the model is above 94%.
https://www.youtube.com/watch?v=sxSodI0pwPw
https://www.youtube.com/watch?v=zX44UvyLeAc
https://www.youtube.com/watch?v=nkZAB7LIRXI&t=12s

Cite As

MathWorks Fixed Point Team (2026). Image classification on an ARM Cortex M Microcontroller (https://in.mathworks.com/matlabcentral/fileexchange/68426-image-classification-on-an-arm-cortex-m-microcontroller), MATLAB Central File Exchange. Retrieved .

Categories

Find more on FPGA, ASIC, and SoC Development in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2018a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0