Unable to start other onramp trainings after completing MATLAB

1 Ansicht (letzte 30 Tage)
Sashidar
Sashidar am 25 Sep. 2022
Kommentiert: Sashidar am 28 Sep. 2022
Getting below error when launching the training from browser.
Unable to resolve the name 'sltemplate.ui.StartPage.show'.

Antworten (1)

vamshi sai yele
vamshi sai yele am 25 Sep. 2022
Bearbeitet: vamshi sai yele am 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 Kommentare
Sashidar
Sashidar am 25 Sep. 2022
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 am 28 Sep. 2022
Can any one help me with this issue resolution?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by