protection techniques for simulink

1 次查看(过去 30 天)
VAMSI
VAMSI 2012-7-26
评论: Sherman 2014-12-10
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 个评论
Titus Edelhofer
Titus Edelhofer 2012-7-26
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, ...?

请先登录,再进行评论。

回答(1 个)

Ryan G
Ryan G 2012-7-26
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 个评论
Sherman
Sherman 2014-12-10
Protecting a model results in the loss of callbacks so this may not work.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by