필터 지우기
필터 지우기

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