calcDateLicenseExpi​ry

版本 1.0.0.0 (616 字节) 作者: Martyn Dorey
An effective way to put a time bar on your distributed files, so you can protect your intellectual c
1.2K 次下载
更新时间 2005/3/11

无许可证

The most common way to time bar your work is to compare todays date with a time bar.

However it is easy for a user to change the date on their machine to get round this. (You can do this on MATLAB for example).

This solution compares the license expiry date with the latest date that files were changed in a check directory[default: 'c:\windows'].
It's a pain to overide this.

This technique should help you protect your intellectual capital when you distribute your work to clients.

% dteEnd = datenum('30-Jun-2005','dd-mmm-yyyy');
% sclrExpire = calcDateLicenseExpiry(dteEnd);
% if sclrExpire>0,
% txtErr= 'Licence expired please contact xxx.yyyy@address.com';
% uiwait(msgbox(txtErr));
% error(txtErr);
% end

Don't know how to stop MATLAB models from being copied. Look forward to hearing your views.
Regards
Martyn

引用格式

Martyn Dorey (2024). calcDateLicenseExpiry (https://www.mathworks.com/matlabcentral/fileexchange/7086-calcdatelicenseexpiry), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Application Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Rubbish spelling.