Filter löschen
Filter löschen

protection techniques for simulink

1 Ansicht (letzte 30 Tage)
VAMSI
VAMSI am 26 Jul. 2012
Kommentiert: Sherman am 10 Dez. 2014
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 Kommentar
Titus Edelhofer
Titus Edelhofer am 26 Jul. 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, ...?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ryan G
Ryan G am 26 Jul. 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 Kommentar
Sherman
Sherman am 10 Dez. 2014
Protecting a model results in the loss of callbacks so this may not work.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by