Main Content
Persistent Variable Read
Libraries:
Simulink Real-Time /
Target Management
Description
The Persistent Variable Read block reads the selected persistent variable from the Speedgoat® target computer when you load the real-time application. If the block cannot find the selected variable, the block outputs the selected default value. The variable value persists when the target computer is shut down.
Use the getPersistentVariables
function and setPersistentVariables
function to access the persistent variable values on the
target computer.
Examples
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2022a