Unable to start other onramp trainings after completing MATLAB

조회 수: 1 (최근 30일)
Sashidar
Sashidar 2022년 9월 25일
댓글: Sashidar 2022년 9월 28일
Getting below error when launching the training from browser.
Unable to resolve the name 'sltemplate.ui.StartPage.show'.

답변 (1개)

vamshi sai yele
vamshi sai yele 2022년 9월 25일
편집: vamshi sai yele 2022년 9월 25일
Hi Sashidar.
Please note that the default paths of MATLAB may not be configured properly on your workstation. In order to reset them, please proceed with the following steps:
ThemeCopy
In MATLAB, type the commands to restore the application path
>> rehash toolboxcache
>> restoredefaultpath
>> matlabrc
>> savepath
Any custom path will be overwritten but you can make a backup as described in the article below:
How will running the restoredefaultpath and savepath commands affect my custom paths and how do I back up my custom paths? http://www.mathworks.com/matlabcentral/answers/166871
"restoredefaultpath" path will reset paths for all toolboxes/addons. This is why if you have installed a third party toolbox which doesn't come from MathWorks, you will have to reinstall that toolbox.
And if you are running MATLAB on Manjaro Linux with kernel 4.15.12-.
The work around would be
1) Install the libselinux package from AUR
2) exclud libfreetype* files
ThemeCopy
sudo mv matlabroot/bin/glnxa64/libfreetype* exclude_path
3) run "! matlabroot/bin/glnxa64/MATLABWindow" as in simulink issues. I got the 2 error code with the proposed solution: "Set aside MATLAB’s copy of the libglib-2.0.so library, located in matlabroot/cefclient/sys/os/glnxa64".
ThemeCopy
sudo mv matlabroot/cefclient/sys/os/glnxa64/libglib-2.0.so* exclude_path
Hope you find it helpful!
  댓글 수: 2
Sashidar
Sashidar 2022년 9월 25일
Already tried this from one of the other threads. Didnt work.
Below are logs when i try them.
rehash toolboxcache
Warning: Function license has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
Warning: Function more has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
restoredefaultpath
Unable to run the 'restoredefaultpath' function, because it is not supported for MATLAB Online. To use this function, use an installed version
of MATLAB on your computer.
matlabrc
savepath
Sashidar
Sashidar 2022년 9월 28일
Can any one help me with this issue resolution?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by