How can I send a string to a simulink input block?
24 次查看(过去 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!