How can I send a string to a simulink input block?
조회 수: 10 (최근 30일)
이전 댓글 표시
How can I send a string to a simulink input block?
댓글 수: 0
답변 (2개)
Darshan Ramakant Bhat
2018년 3월 31일
Now strings are supported in Simulink. You can use the string related blocks to do the string manupulation. Below is the list of string related blcoks:
I hope this will be helpful
댓글 수: 0
Suneesh
2014년 2월 27일
1. Simulink signals can only be numbers. Strings are not supported.
2. If the need to send characters over serial RS-232 then the right thing to do is use the ASCII equivalent of the characters.
댓글 수: 2
Suneesh
2014년 2월 27일
Here is an example for CAN communication in Simulink:
There are more available at:
Regardless, you cannot send a character on a Simulink signal line. Do accept the answers if they are helpful so that others may benefit by the same.
참고 항목
카테고리
Help Center 및 File Exchange에서 String에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!