Unable to start other onramp trainings after completing MATLAB

Getting below error when launching the training from browser.
Unable to resolve the name 'sltemplate.ui.StartPage.show'.

Réponses (1)

vamshi sai yele
vamshi sai yele le 25 Sep 2022
Modifié(e) : vamshi sai yele le 25 Sep 2022
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 commentaires

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
Can any one help me with this issue resolution?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Version

R2022b

Question posée :

le 25 Sep 2022

Commenté :

le 28 Sep 2022

Community Treasure Hunt

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

Start Hunting!

Translated by