Main Content
Persistent Variable Write
Libraries:
Simulink Real-Time /
Target Management
Description
The Persistent Variable Write block writes a value to the selected persistent variable when the real-time application starts and stops. The variable value persists when the Speedgoat® target computer is shut down.
Use the getPersistentVariables
function and setPersistentVariables
function to access the persistent variable values on the
target computer.
Examples
Ports
Input
Parameters
Extended Capabilities
Version History
Introduced in R2022a