Error when launching simulink
显示 更早的评论
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
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
2022-1-3
I also had the same challenge.
Walter Roberson
2022-1-3
cd('C:\Users\dell\AppData\Roaming\MathWorks\MATLAB\R2021b');
start_simulink
slCreateToolstripComponent("custom");
copyfile( fullfile('resources', 'sl_toolstrip_plugins.json'), '.')
Heiko Zatocil
2022-3-22
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
2023-12-5
Have you fixed the problem, If you have, please help me
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
2019-2-11
subham mukherjee
2019-2-21
thanks it works
Shravan Kumar
2019-6-1
its not working
Mario Arámburu
2021-7-15
Thank you men it works perfectly.
cuong pham
2022-5-11
it not work
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!