Accelerating the pace of engineering and science

Microchip Support from Embedded Coder

Generate code for Microchip processors.

Altium Support from Embedded Coder

MATLAB Coder™, Simulink Coder™, and Embedded Coder® generate ANSI/ISO C/C++ code that can be compiled and executed on Microchip® PIC® microcontrollers using MPLAB® XC, MPLAB C, or HI-TECH® C compilers and integrated development environments (IDEs). Embedded Coder lets you easily configure the code generated from MATLAB® and Simulink® algorithms to control software interfaces, optimize execution performance, and minimize memory consumption.

Microchip processor families compatible with Embedded Coder generated code include:

8-bit MCUs 16-bit MCUs and DSCs 32-bit MCUs
  dsPIC® DSCs  

You can also use Embedded Coder to customize the generated code specifically for Microchip PIC microcontrollers using published APIs and reference examples. For example, you can generate processor-specific (non- ANSI) optimized code and perform processor-in-the-loop (PIL) testing with execution profiling.

MathWorks does not offer an Embedded Coder Hardware Support Package for the devices listed on this page. Third Party Connection hardware and software products may exist, and MathWorks Consulting Services is available to aid with hardware integrations.

MathWorks Requirements

Third-Party Requirements



  • Any of the microcontrollers from the table above



  • MPLAB® XC, MPLAB® XC32++, MPLAB C, or HI-TECH® C IDEs or compilers
  • RTOS (optional)

Request Hardware Support