Source Blocks User Interface Blocks navigation bar

Table of Contents > QUARC > Blocks > Blocks - By Category > Block Categories

String Blocks

The QUARC String blocks allow strings to be used in Simulink. Strings are represented in QUARC as UTF-8 strings stored as a null-terminated vector of uint8 integers. Null-terminated means that the end of the string is marked by a zero byte. This zero byte will not be the last byte in the vector if the string is shorter than the vector which contains the string.

String Accumulate

Accumulates a series of strings into one concatenated string.

String Concatenate

Concatenates a number of strings together.

String Constant

Outputs a constant string.

String Display

Displays a string right in the Simulink model.

String Error

Outputs the error message corresponding to a standard QUARC error code.

String Print

Prints formatted text to a string, much like sprintf.

String Scan

Scans formatted data from a string, much like sscanf.

String Select

Outputs a string from a list of strings based on the input.

String Subset

Extracts a subset of characters from a string.

 

navigation bar