Can't find the resource file 'toolbox/local/simulinkrc.m'
Show older comments
I can't use simulink and there is followng Error:
Warning: Can't find the resource file 'toolbox/local/simulinkrc.m' needed by
'/Applications/MATLAB_R2019a.app/bin/maci64/libmwsimulink.dylib'
> In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON 

5 Comments
Alifah Rahim
on 24 Nov 2019
i have the same problem, if you've found the solution please let me know
Jan
on 24 Nov 2019
Actually there should not be an M-file directly in the toolbox\local folder. Therefore it would be useful if you explain any details about the situation in which this problem occurs.
Fernando Hurtado Garcia-Huidobro
on 3 Dec 2019
I have the same problem, how did you fix it?
Jan
on 4 Dec 2019
Maybe you can explain the problem with more details?
Jean
on 11 Dec 2019
I have the same issue, I just installed Matlab+Simulink 2019b under Window 64b and when I open a .slx model or when I launch simulink by command line it says:
Warning: Can't find the resource file 'toolbox\local\simulinkrc.m' needed by 'C:\Program Files\MATLAB\R2019b\bin\win64\libmwsimulink.dll'
> In start_simulink
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Answers (1)
Jean
on 11 Dec 2019
8 votes
Answer from the support (which worked):
"This warning indicates that MATLAB was unable to detect a core installation file required to run Simulink. There are a couple of things which can cause this; the most common source of error is if MATLAB's search path wasn't successfully updated upon your initial attempts at installing. To resolve this issue, enter the following three commands into MATLAB, one after the other;
>> rehash toolboxcache
>> restoredefaultpath
>> savepath
Then, try and access Simulink again."
1 Comment
Sagar Zade
on 1 Sep 2020
I tried
>> rehash toolboxcache
>> restoredefaultpath
But I get the following error on doing this:
Error using restoredefaultpath (line 41)
System error: Standard CSHRC script not found.
Not all initialzation done.
Contact Systems Administration.
Unmatched '"'.
Not: Command not found.
Contact: Command not found.
Unmatched '"'.
Command executed: "Standard CSHRC script not found.
Not all initialzation done.
Contact Systems Administration.
/usr/bin/perl" "/Applications/MATLAB_R2020a.app/toolbox/local/getphlpaths.pl"
"/Applications/MATLAB_R2020a.app"
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!