previously accessible file is inacessible.
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
RPatel
el 30 de Oct. de 2017
Comentada: RPatel
el 30 de Oct. de 2017
Hello,
I had removed file/s strsplit.m and a couple of others from matlab's core directory based on one of the posts I read a couple of months ago as it was creating a java exception error (something I recall vaguely). But now, I get an irritating pop-up (kind of) everytime I click on the Matlab command window/variables window. Could someone please help me fix it?
Please refer to the image: it reads previously accessible file is now inaccessible workspacefun 329. I am on linux OS, matlab 2016a.
Thanks,
3 comentarios
Stephen23
el 30 de Oct. de 2017
Editada: Stephen23
el 30 de Oct. de 2017
"I had removed file/s ... from matlab's core directory..."
Ouch! You should never delete/rename/edit/... any files in the MATLAB installation directories. Who told you to do that? Perhaps this was the advice which you (incorrectly) followed:
The advice given in that thread was to remove any user functions with those names. You removed the wrong files, because you have removed the installed MATLAB files, which was a really really bad idea. All kinds of dependent functions could be affected when you remove some random file from the MATLAB toolboxes, leaving you with unpredictable behavior of your installed MATLAB.
Oh well, time to reinstall MATLAB!
Respuesta aceptada
Jan
el 30 de Oct. de 2017
Editada: Jan
el 30 de Oct. de 2017
I had removed file/s strsplit.m and a couple of others from matlab's
core directory
This is really scary. This idea is really off track. Matlab cannot not work properly, if you remove essential files from its toolbox. You cannot solve a problem by removing the tools, but surely Matlab must crash afterwards.
General rule: *Never* remove files from Matlab's toolboxes.
It is a good idea to work with user privileges only, such that you cannot even modify Matlab's function by accident.
I do not believe that the existence of strsplit.m in the toolbox path causes a "Java exception error". Please post the code, which causes the error and a complete copy of the error message. Then it might be possible to give a better advice than destroying the toolbox folders.
First of all, restore the removed files.
Afterwards restore the hash values of the path:
rehash toolboxcache
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!