Workspace Parameters in Masked Subsystem are not Exported to VeriStand Correctly.

Updated Jul 23, 2026

Reported In

Software

  • VeriStand
  • Simulink

Issue Details

When using a masked subsystem in Simulink, workspace variables may be defined and exposed through the mask dialog. However, after importing the model into NI VeriStand, some of these parameters may not appear as expected.

This behavior is expected. Even though a parameter is displayed in the masked subsystem dialog, VeriStand can only access parameters that are generated as run-time tunable parameters. If the underlying block parameter is configured as Compile-time, the parameter is treated as a compile-time constant and is not exported to VeriStand.

As a result, only a subset of the masked subsystem parameters may be visible in VeriStand.

Solution

To expose the parameter to VeriStand, modify the Configurability setting of the underlying block parameter.

Steps

  1. Open the masked subsystem.

  2. Identify the block that contains the parameter exposed by the mask.

  3. Open the block's Block Parameters dialog.

  4. Locate the parameter that is mapped to the mask workspace variable.

  5. Change the Configurability setting from:

    • Compile-time

    to

    • Run-time
  6. Apply the changes and save the model.

  7. Rebuild the model and re-import it into VeriStand.

After the parameter's configurability is changed to Run-time, the parameter is exported correctly and becomes available in VeriStand.