Hardware Support

Microchip Support from Embedded Coder

Generate code for Microchip processors.

MATLAB Coder™Simulink Coder™, and Embedded Coder® generate ISO C code that you can compile and execute on Microchip PIC32 and SAM microcontrollers (MCUs) and dsPIC33 Digital Signal Controllers (DSCs) using MPLAB® X Integrated Development Environment (IDE) and MPLAB XC Compilers. 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 CoderSimulink Coder, and Embedded Coder generate ANSI/ISO C/C++ code that you can compile and execute on any microcontrollers, including the following Microchip devices:

 

8-bit MCUs 16-bit MCUs and DSCs 32-bit MCUs
PIC® MCUs PIC24 MCUs PIC32 MCUs
  dsPIC33 DSCs  SAM MCUs

A support package is available from Microchip for dsPIC® DSCs and PIC32 and SAM MCUs. The package adds peripheral blocks that enables targeting for 400+ chips from Simulink without requiring specific knowledge of these devices. The package enables code optimization and chip programming directly from Simulink. It also supports Hardware-In-the-Loop (HIL) and external mode.

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 integration.