protection techniques for simulink
1 回表示 (過去 30 日間)
古いコメントを表示
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
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
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!