How I can add Arduino SoftwareSerial library?

조회 수: 7 (최근 30일)
Mirko
Mirko 2021년 5월 10일
답변: Dhruv 2023년 2월 21일
Good evening,
how can I add the Arduino SoftwareSerial library in Simulink, to use more than one Arduino serial
I have an Arduino project that uses SoftwareSerial to communicate with two devices.
Has anyone tried adding this library?

답변 (1개)

Dhruv
Dhruv 2023년 2월 21일
Simulink support package for Arduino does not support software serial as such.
But if needed, you can create a custom block by following the steps mentioned in the link below:

Community Treasure Hunt

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

Start Hunting!

Translated by