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'.
0 个评论
回答(1 个)
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!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!