Sending signal from matlab to TivaC launchpad with code composer studio.

조회 수: 1 (최근 30일)
Sriram Jayachandran Raguraman
Sriram Jayachandran Raguraman . 2019년 3월 7일
답변: Munish Raj . 2019년 3월 18일
Hi, I'm trying to do a project using TivaC launchpad with code composer studio. In this project, I'm trying to send a signal from m-script (not simulink) to tiva board using uart. I want to confirm whether it is possible to send signals from matlab? any settings need to be done ? Also, it would be great if there is any example code availabe for reference.
My email ID is

답변 (1개)

Munish Raj
Munish Raj 2019년 3월 18일
Hello Sriram,
You can call a custom MATLAB function from simulink.
Thiscustom function can then be sent to the Serial port of the TiVac launchpad.
An Example for Serial communication between simulink and a MCU can be found here.
Integrating a Custom function (User defined function) into sululink can be found here.

Community Treasure Hunt

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

Start Hunting!

Translated by