Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Question about matlab code for trial control

1 Ansicht (letzte 30 Tage)
laoya
laoya am 12 Aug. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Dustin
Dustin am 12 Aug. 2013
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 Kommentar
laoya
laoya am 12 Aug. 2013
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