Matlab 2020b "Simulink Onramp Failed to launch. Pattern not found"

13 views (last 30 days)
I'm trying to run simulink onramp for Matlab 2020b. When I click the link under "Learn" in simulink I get the error: "Simulink Onramp failed to launch. Pattern not found."
I found the command line to launch Simulink onramp and tried that. Below is the command I used and the resulting error messsages in the Matlab command window:
>> learning.simulink.launchOnramp('simulink')
Error using learning.simulink.internal.getEnvironment
Pattern not found
Error in learning.simulink.internal.PortalUrlBuilder/addParamsToUrl
Error in learning.simulink.internal.PortalUrlBuilder
Error in learning.simulink.Application/setConnectorPath
Error in selfPacedTrainingStartup
Error in simulinkTraining
Error in learning.simulink.launchOnramp
>>
I tried running as Admin, but that didn't change anything. There seems to be a good bit of Simulink Onramp issues in the forum, but I could not find any like this. Any help would be appreciated. Thanks!

Accepted Answer

Cris LaPierre
Cris LaPierre on 1 Nov 2021
Consider reinstalling Simulink. If that does not fix the problem, please contact support.

More Answers (1)

Yongjian Feng
Yongjian Feng on 1 Nov 2021
Try this first before from your matlab command line window, re-installing:
learning.simulink.internal.getEndPoint()
  2 Comments
Joe W
Joe W on 1 Nov 2021
I tried this. Here's the response:
>> learning.simulink.internal.getEndPoint()
ans =
'https://matlabacademy.mathworks.com/service/v1/discovery'
>>
Unfortunately I get the same errors when trying to open Onramp. I'll try to reinstall Simulink - I'm not sure how long that will take because I'll have to go through the IT department. Thanks for the help.
Yongjian Feng
Yongjian Feng on 1 Nov 2021
Edited: Yongjian Feng on 1 Nov 2021
I see. Looks like a bug fixed in 2020bd. Do you have the latest update?
If you contact support, provide the following info:
  1. which update of 2020b you have
  2. the return from learning.simulink.internal.getEndPoint() above.

Sign in to comment.

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!