After upgrade from 2014a to 2015a, macro won't run

1 view (last 30 days)
I have a startup macro that I used in 2014a, but won't run in 2015a due to some licensing error. The macro:
function startti
% Tekee oletustoimenpiteet käynnistyksen jälkeen
eval('hakemisto') % Siirry työhakemistoon
eval('keskus') % Käynnistä keskus
% [x y leveys korkeus]
pos = [46.5+14 446.25+100 192 169.5];
set(figure(1),'position',pos);
And the response when running it:
License checkout failed.
License Manager Error -5
Cannot find a license for Optimization_Toolbox.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2015a/5
Diagnostic Information:
Feature: Optimization_Toolbox
License path: C:\Users\atlricejo\AppData\Roaming\MathWorks\MATLAB\R2015a_licenses;C:\Program
Files\MATLAB\R2015a\licenses\license.dat;C:\Program
Files\MATLAB\R2015a\licenses\license_ATLL13051594_1079225_R2015a.lic
Licensing error: -5,357.
Error in xStartup (line 4)
eval('hakemisto') % Siirry työhakemistoon
It appears that Optimization_Toolbox was not included? What do I need to do to get this resolved?

Answers (1)

Steven Lord
Steven Lord on 17 Jul 2015
You should contact your license administrator (probably someone in your company's IT staff) and/or Customer Service for help ensuring that you are using the correct license and that you have licenses available for Optimization Toolbox.

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!