protection techniques for simulink
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How can i make my simulation file i.e .mdl file to expire after certain number of days.I need a detailed explanation with an example.
1 comentario
Titus Edelhofer
el 26 de Jul. de 2012
What do you mean with expire? You can't look at the block diagram anymore, you can't run simulations anymore, the file deletes itself entirely on the harddisk, ...?
Respuestas (1)
Ryan G
el 26 de Jul. de 2012
You can use a protected model reference with a callback inside to check the date and prevent the model from processing when that date has passed.
Unfortunately the protected model reference generates code for the entire system so I'm not sure how you would get the date inside of it.
1 comentario
Sherman
el 10 de Dic. de 2014
Protecting a model results in the loss of callbacks so this may not work.
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!