Simulink (Embedded Coder) Target for TI LaunchPad

版本 (210.2 KB) 作者: Mikhail
Thsi target support package allows you to deploy your algorithms on TI LaunchPad.

3.1K 次下载

更新时间 2015/8/17

来自 GitHub

在 GitHub 上查看许可证

Simulink (Embedded Coder) Target for TI LaunchPad
TI LaunchPad ( is an easy-to-use, affordable (< 5 USD),
and scalable introduction to the world of microcontrollers and the MSP430 family.
Simulink ( is a leading environment
for multidomain simulation and Model-Based Design.
Embedded Coder ( allows you to
generate C code and deploy your algorithms to target hardware.


1) Windows/Linux: Have Code Composer Studio 5 installed (
Note: Currently Code Composer Studio 5 for Linux doesn't support LaunchPad
connection/debugging. Therefore, you will also need mspdebug ( on Linux to
download/debug after compiling with CCSv5 toolchain.
On Linux, you can use mspgcc toolchain instead of CCSv5. This package supports
both mspgcc and CCSv5 on Linux.

Make sure your toolchain is working (build and download some test project, check connection)
before you proceed!

2) a) Extract this package somewhere. Make sure there are no spaces/non-ascii characters in path (just in case).
b) Make sure you have a working/supported host compiler ( by running 'mex -setup' in MATLAB.
c) Within MATLAB, 'cd' to the directory containing launchpad_setup.m and run this script.
d) Swap TX/RX jumpers on TI LaunchPad (see the group of 5 jumpers on your board). This package uses HW UART (see inscription on the board). If you don't do this, Serial Read/Write blocks and PIL will not work.

3) You should be good to go.

What this package already has:
- Standalone execution on target (driven by ISR)
- Support for MSP430G2553 only
- Simulink library blocks for:
* Serial read/write (hardware UART - you must swap TX/RX jumpers on your LaunchPad)
* Built-in temperature sensor
* Push button
- Execution in PIL mode (hardware UART - you must swap TX/RX jumpers on your LaunchPad)
- PIL mode profiling

What this package would like to have:
- More Simulink blocks
- Support for other LaunchPad compatible MCUs
- More documentation


Mikhail (2023). Simulink (Embedded Coder) Target for TI LaunchPad (, GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明

Link to Github repo

Add demo models for PIL profiling

Implement PIL execution profiling

Add support for R2012b

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库