Clear Filters
Clear Filters

Simscape Battery Onramp will not launch in browser. "License checkout failed. License Manager Error -5 . Cannot find a license for simscape_battery."

25 views (last 30 days)
Here is the error code and error messages I got. Further down I used the "ver -support" command to see which products is included in this browser version of MATLAB.
License checkout failed.
License Manager Error -5
Cannot find a license for simscape_battery.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/5
Diagnostic Information:
Feature: simscape_battery
License path: 13501@flexlm-24a-40912989-us-east-1a.wsroute.mathworks.com:13501@flexlm-24a-40912989-us-east-1d.wsroute.mathworks.com:13501@flexlm-24a-40912989-us-east-1e.wsroute.mathworks.com:/home/mluser/.matlab/R2024a_licenses:/MATLAB/licenses/license.dat:/MATLAB/licenses
Licensing error: -5,0.
Error using learning.simulink.launchOnramp
Unable to check out a Simscape Battery license, which is required by Simscape Battery Onramp.
Alternatively, you can take the course on the MathWorks Self-Paced Online Courses website.
>> ver -support
-----------------------------------------------------------------------------------------------------
MATLAB Version: 24.1.0.2570885 (R2024a) Update 1
MATLAB License Number:
Operating System: Linux 5.4.233-0504233-generic #202302250651 SMP Sat Feb 25 12:26:27 UTC 2023 x86_64
Java Version: Java 1.8.0_292-b10 with AdoptOpenJDK OpenJDK 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 24.1 (R2024a) License
Simulink Version 24.1 (R2024a) License
Requirements Toolbox Version 24.1 (R2024a) License
Simscape Version 24.1 (R2024a) License
Simscape Electrical Version 24.1 (R2024a) License
Simulink Control Design Version 24.1 (R2024a) License
Simulink Test Version 24.1 (R2024a) License
Stateflow Version 24.1 (R2024a) License
System Composer Version 24.1 (R2024a) License
>>
The command "license('inuse')" show that a license has been checked out for a feature called 'simscapebattery', without underscore.

Answers (1)

Abhinav Aravindan
Abhinav Aravindan on 13 Sep 2024 at 11:03
Hi @Arne,
I encountered a similar issue before, but it seems to have been resolved now. The course is accessible in both MATLAB Online and the Desktop version with the latest update.
For the best experience, I recommend accessing the course using the desktop version of MATLAB.
I hope this answers your query!

Categories

Find more on Propulsion and Power Systems 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!