Why does the 'UserData' property for a block not persist across Simulink sessions even though I have the 'UserDataPersistent' property set to 'on'?
Kshitij Singh answered .
2025-11-20
>> set_param(gcb,'UserData',5) >> set_param(gcb,'UserDataPersistent','on')