필터 지우기
필터 지우기

How do I fix the Simulink StartPage error?

조회 수: 14 (최근 30일)
Devon King
Devon King 2023년 9월 21일
답변: Pratyush 2023년 9월 21일
When I open matlab R2023a in Windows 11 and click on the simulink tab. I recieve these errors.
Warning: Unable to resolve the name 'sltemplate.internal.Registrar.warmupCache'.
Error in sltemplate.ui.StartPage
Error in sltemplate.ui.StartPage
Error in sltemplate.ui.StartPage/instance
Error in sltemplate.ui.StartPage/getInstance
Error in sltemplate.ui.StartPage/doShow
Error in sltemplate.ui.StartPage.showCustomView
Error in sltemplate.ui.StartPage>@()sltemplate.ui.StartPage.showCustomView('Start',[],varargin{:})
Error in sltemplate.ui.StartPage/showWithFallback
Error in sltemplate.ui.StartPage.show
> In sltemplate.ui.StartPage.showWithFallback
In sltemplate.ui.StartPage.show
Execution of script get_param as a function is not supported:
C:\Program Files\MATLAB\R2023a\toolbox\simulink\core\api\get_param.m
Error in gcs (line 13)
cursys = get_param(0,'CurrentSystem');
I have tried gving system access to the program and installing additional Simulink packages. What Am I doing wrong?

채택된 답변

Pratyush
Pratyush 2023년 9월 21일
Hi Devon,
I understand that you are trying to open simulink and you are facing the above error.
The default paths of MATLAB may not be configured properly on your workstation. ITo reset them, please proceed with the following steps:
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 here.
"restoredefaultpath" path will reset paths for all toolboxes/addons. Therefore, if a third party toolbox is installed which doesn't come from MathWorks, you will have to reinstall that toolbox.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by