Using the Simcenter Amesim to Simulink Interface > Using the Simcenter Amesim-Simulink Black-box interface > Importing and using the Black-box manually
Accessing text parameters
Accessing the text parameters requires two additional matrices. Note that all rows in text matrices must have the same length. This is most conveniently dealt with by using the strvcat command (as seen in figure Figure 63).
Note that this image has been split into two in order to display it on the page.
Figure 61: S-function with global text parameters (part one)
Figure 62: S-function with global text parameters (part two)
Note that accessing the text parameters requires that the preceding matrices must be defined even if they are empty (as in the following figure)
Figure 63: S-function with global text parameters
Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Simulink/Accessing_text_parameters · retrieved 2026-07-17