License manager error -5. What do?

I'm having an issue running reportgenerator. The entirety of what I'm working on works on my version of Matlab, but when I send someone a file and they try to run my script it comes up with this error:
I've tried looking into Error -5 and have been unsuccessful. Any help would be greatly appreciated.
Error using mlreportgen.ppt.Presentation/add
Unable to check out a Report Generator license. Reason: 'License checkout failed.
License Manager Error -5
Cannot find a license for MATLAB_Report_Gen.
Diagnostic Information:
Feature: MATLAB_Report_Gen
License path: C:\Users\lmckenna1\AppData\Roaming\MathWorks\MATLAB\R2018b_licenses;C:\Program
Files\MATLAB\R2018b\licenses\license.dat;C:\Program
Files\MATLAB\R2018b\licenses\license_A44786-lmckenna_968762_R2018b.lic
Licensing error: -5,357.'
Error in Punlish_demo (line 10)
slide1 = add(slides,'Title Slide');

2 Comments

Hey bud,
Thanks for the help. It was as simple as that they do not have the license for it. I'm sorry it had to come to this to figure out something so trivial.

Sign in to comment.

Answers (0)

Categories

Asked:

on 26 Mar 2019

Commented:

on 26 Mar 2019

Community Treasure Hunt

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

Start Hunting!