Code covered by the BSD License  

Highlights from
Program to generate applications which are time bound/evaluation

3.33333

3.3 | 3 ratings Rate this file 3 Downloads (last 30 days) File Size: 114.32 KB File ID: #18315

Program to generate applications which are time bound/evaluation

by Vihang Patil

 

14 Jan 2008 (Updated 15 Jan 2008)

Create stand alone application which is time bound to distriute for demo purposes.

| Watch this File

File Information
Description

This program is useful in generating a demo application which can be integrated in your stand alone application to make it time bound. This can particularly be useful when you want to distribute
your stand alone applications for demo purpose so that your application is
fully functional for the specified amount of days

Help for evaluation.p
function [output days_in_use] = evaluation(num_of_days,msg_on_off)

USAGE : output = evaluation(30,'on');

Examples:
output = evaluation; %takes 30 as default and message to 'on'
output = evaluation(30,'off');

First input argument specifies the number of valid days ex: 30
Second input argument specifies whether to give an error dialog or not e:
'on'

P.N: evaluation.p and remove_evalution.p are the only files required for
placing and removing the time limit. Rest of the files in the zip file
are for the gui, magic_number.m

Help for remove_evaluation.p
This function is used to remove any changes made by the evaluation function.
Usage : remove_evaluation

Help for magic_number.m
This is a demo gui for testing the above said evaluation function
Usage : magic_number
To test whether the program works for 30 days or not , just change the
date from the system tray and re run the application. If you change the
date backward, it will give an error but as soon as the date is modified
to the latest date set, it will start again.
Good Luck!

Vihang Patil, Jan 2008
Copyright 2004-2008 Vihang Patil
Email: vihang_patil@yahoo.com
Created: 14th Jan 2008
Free to use and distribute

MATLAB release MATLAB 7.3 (R2006b)
Other requirements http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=12673&objectType=file
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
15 Jan 2008 Shadowfax LOTR

Works as claimed but would be interesting to know how it works.
(When i ran it Zonealarm tried to block its execution coz it was trying to access the cmd prompt)

23 Jan 2008 Dimitri Shvorob

Ok, call me ungrateful, but submitting closed-source code.. :(

28 Nov 2010 Sherif Elnabarawy  
20 Dec 2010 Sherif Elnabarawy

Great Work , but i still have a problem using it , i need to make my app work on user accounts that are not administrator accounts , it gives me this error :

??? Error using ==> fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in ==> C:\SIDLAB\License\evaluation.p>evaluation at 71

Error in ==> license_dialogue>activate_Callback at 163
    [out used_days] = evaluation(days,'on')
 
??? Error while evaluating uicontrol Callback

so any help here ?
however ,its a great job this is what i was looking for .
thanks a lot ,
Sherif Elnabarawy.

Please login to add a comment or rating.
Updates
15 Jan 2008

1. Title was not appropriate.
2. Updated the zip file.

Tag Activity for this File
Tag Applied By Date/Time
demo Vihang Patil 22 Oct 2008 09:42:38
license Vihang Patil 22 Oct 2008 09:42:38
time bound Vihang Patil 22 Oct 2008 09:42:38
stand alone Vihang Patil 22 Oct 2008 09:42:38

Contact us at files@mathworks.com