Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Question about matlab code for trial control

조회 수: 1 (최근 30일)
laoya
laoya 2013년 8월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
Dear all,
Do you have any experience to write a matlab protection program to have a trial control, for example, to let my program have a 30-day trial?
I only know that pcode can compile the .m code to .p files to protect the code, furthermore, I also need to protect the program by setting a 30-day trial, any suggestion?
Thanks, Tang Laoya

답변 (1개)

Dustin
Dustin 2013년 8월 12일
Hi Tang,
I am not sure how save our program should be but you could use the date-function in MATLAB.
str = date returns a string containing the date in dd-mmm-yyyy format
At the first start of our program you could save a "start_date" to compare it later with the "current_date".
It´s just an quick idea.
Regards Dustin
  댓글 수: 1
laoya
laoya 2013년 8월 12일
Hi Regards,
Thank you very much for your kindly reply. I also thought of this idea, but I know that user can modify computer's current time so that he can continue to use the program:(
Thanks,
Tang Laoya

Community Treasure Hunt

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

Start Hunting!

Translated by