Persistent Variable Read
Read persistent variable value from target computer
- Library:
Simulink Real-Time / Target Management /
Description
The Persistent Variable Read block reads the selected persistent variable from the 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.