Simulink.Mask.Workspace Class
Description
Create an object of Simulink.Mask.Workspace by using getWorkspace
method. Use the get method to display the values of the mask workspace
variables, parameters. Set the values of mask workspace variables and parameters using the
set method in the Mask initialization function of the mask callback file
only. You cannot set the values of the variables and parameters outside of mask initialization
code.
The Simulink.Mask.Workspace class is a handle class.
Examples
Version History
Introduced in R2025a
