Create stand-alone applications from a Simulink discrete time model and with just one click generate, compile and load the code for your application onto your target device. The MPLAB Device Blocks for Simulink is a free set of user interfaces and Simulink peripheral blocks for developing complex designs based on dsPIC33 Digital Signal Controllers (DSCs) and PIC32 or SAM microcontrollers (MCUs). To further simplify your development, the package also includes many examples in the form of demo models, including a complete BLDC motor control application. The latest version now offers support for single-shunt motor control algorithms and includes Simulink models for several additional examples.
These blocks are supported by the following design tools by Simulink: