When I'm trying to launch simulink I get following error:
Task name: 'sltemplate.internal.request.loadTemplates'
Task arguments: ''
Error Type: 'Server Error'
Error Message: 'Forbidden;403'
My matlab version is R2018b and I'm using Windows 10.

답변 (2개)

Akther M
Akther M 2021년 11월 30일

2 개 추천

I am getting following error while launching Simulink
Warning: Error parsing file:
File: C:\Users\dell\AppData\Roaming\MathWorks\MATLAB\R2021b\sl_toolstrip_plugins\preferences.json
Line: 1
Error: [json.exception.parse_error.101] parse error at 1: syntax error - unexpected end of input; expected '[', '{', or
a literal
> In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
In slCustomizer/refresh
In slCustomizer/callRefresh
In slCustomizer>@()slCustomizer.callRefresh()
In slCustomizer.staticRefresh
In simulinkrc (line 51)
In Simulink.start_simulink
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Please help me to solve this issue

댓글 수: 4

Mutala Mohammed
Mutala Mohammed 2022년 1월 3일
I also had the same challenge.
cd('C:\Users\dell\AppData\Roaming\MathWorks\MATLAB\R2021b');
start_simulink
slCreateToolstripComponent("custom");
copyfile( fullfile('resources', 'sl_toolstrip_plugins.json'), '.')
Hi,
I am facing the same error:
>> cd('C:\Users\Heiko\AppData\Roaming\MathWorks\MATLAB\R2021b')
>> start_simulink
Warning: Error parsing file:
File:
C:\Users\Heiko\AppData\Roaming\MathWorks\MATLAB\R2021b\sl_toolstrip_plugins\preferences.json
Line: 1
Error: [json.exception.parse_error.101] parse error at 1:
syntax error - unexpected end of input; expected '[', '{',
or a literal
> In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
In slCustomizer/refresh
In slCustomizer/callRefresh
In slCustomizer>@()slCustomizer.callRefresh()
In slCustomizer.staticRefresh
In simulinkrc (line 51)
In Simulink.start_simulink
After that, Matlab hangs in "Starting Simulink..." state.
Please, can you help me solving this issue?
Best regards,
Heiko
Quan Le Minh
Quan Le Minh 2023년 12월 5일
Have you fixed the problem, If you have, please help me

댓글을 달려면 로그인하십시오.

Masa Yano
Masa Yano 2019년 2월 10일

1 개 추천

I want you to try the following.
Windows Setting > Network&Internet > Network and Sharing Center >
Internet Options > Connections > LAN settings > Uncheck [Bypass proxy server for local addresses]

댓글 수: 5

Juha Rauhala
Juha Rauhala 2019년 2월 11일
I have alredy uncheked that one. I noticed that the simulink works when I disconnect from internet. I can live with the situation but it would be nice to know what is the problem.
subham mukherjee
subham mukherjee 2019년 2월 21일
thanks it works
Shravan Kumar
Shravan Kumar 2019년 6월 1일
its not working
Mario Arámburu
Mario Arámburu 2021년 7월 15일
Thank you men it works perfectly.
cuong pham
cuong pham 2022년 5월 11일
it not work

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 2월 10일

댓글:

2023년 12월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by