UserData goes empty when I use restore link
Ältere Kommentare anzeigen
Hello all,
I've created a toolbox and saved all the data in UserData. I've made the toolbox a library and after I copy the library into a normal model I disable the link.
The UserData data is still present, but when I restore the link to the library the UserData = [];
Why is this happening ? I need to restore the link in the models when I make small updates to the library.
Best Regards, Adrian
2 Kommentare
Jan
am 5 Feb. 2013
You are talking about Simulink, correctly? UserData are usually volatile, such that a reloading of the object must initialize it before using.
Adrian Dronca
am 5 Feb. 2013
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!