字符串
字符串操作模块
使用 String 库中的模块来管理字符串信号。
模块
ASCII to String | Uint8 vector signal to string signal |
Compose String | Compose output string signal based on specified format and input signals |
Scan String | 扫描输入字符串并转换为指定格式的信号 |
String Compare | 比较两个输入字符串 |
String Concatenate | 串联各个输入字符串以形成一个输出字符串。 |
String Constant | 输出指定的字符串 |
String Contains | Determine if string contains, starts with, or ends with pattern (自 R2020a 起) |
String Count | Count occurrences of pattern in string (自 R2020a 起) |
String Find | Return index of first occurrence of pattern string |
String Length | Output number of characters in input string |
String to ASCII | Convert string signal to uint8 vector |
String to Double | 将字符串信号转换为双精度信号。 |
String to Enum | Input string signal to enumerated signal |
String to Single | 将字符串信号转换为单个信号 |
Substring | Extract substring from input string signal |
To String | 将输入信号转换为字符串信号 |