Why do I receive an error related to expiration date when application compiled with a Trial version of MATLAB Compiler is deployed to the end user?
11 views (last 30 days)
Show older comments
MathWorks Support Team
on 9 Feb 2011
Edited: MathWorks Support Team
on 17 Mar 2025
I compiled a standalone application with MATLAB Compiler and distributed it to an end user. When running the EXE-file from a command prompt, the application works fine for a few weeks and then the end user encounters the following error:
ERROR: This MATLAB file has reached its expiration date. "c:\tools\ASAP2_Creator_mcr\toolbox\compiler\deploy\matlabrc.m"
Accepted Answer
MathWorks Support Team
on 17 Mar 2025
Edited: MathWorks Support Team
on 17 Mar 2025
This problem occurs if the deployed application was compiled using a trial version of the MATLAB Compiler. When an executable is a created using a trial version of the MATLAB Compiler, the executable works for a duration of 30 days from the creation date of the executable.
Please check if this executable was created using a trial version of the MATLAB Compiler. If this is the case, then you would need to re-compile the original source code using a regular (non-trial) version of the MATLAB Compiler and re-deploy the application to the end user.
1 Comment
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!