Unable to start other onramp trainings after completing MATLAB

1 次查看(过去 30 天)
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

请先登录,再进行评论。

类别

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