Microchip Support from Embedded Coder

Generate code for Microchip processors.

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.

Supported Hardware

MATLAB Coder™Simulink Coder™, and Embedded Coder® generate ANSI/ISO C/C++ code that can be compiled and executed on any Microcontrollers, including the devices listed below:


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.