- Bring the signal to the top level using an output port on the Model.
- Use a "To File" block inside the Model to log the signals
- Use a "To Workspace" block inside to log the signals
Store and re-use data from protected model
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Shivam garg
il 13 Feb 2024
Commentato: Ayush Singh
il 16 Feb 2024
I have to share a protected model to a third party.
In the protected model I have some data store memory and signals which can be open to the third party.
I want to store these values at the end of simulation and initialize the simulation from the same values.
Currently logging gets disabled after adding protection.
0 Commenti
Risposta accettata
Ayush Singh
il 16 Feb 2024
Modificato: Ayush Singh
il 16 Feb 2024
Hi Shivam
I assume you have some data store memory and signals which you want to store at the end of simulation and use those values for initialization.
Signal logging being disabled for a protected model is expected behaviour.
However, there are three ways to let the end user access internal signals in the Protected Model:
I hope the above information helps.
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Model Protection in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!