Previously accessible file is now inaccessible.
69 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
joha
el 8 de Abr. de 2016
Comentada: sarathjc
el 28 de Mayo de 2019
I want to test my installation after installing gurobi5, when I run initCobraToolbox, the error came up >> "Previously accessible file "C:\Program Files\MATLAB\R2013a\toolbox\cobra\external\addpath_recurse.m" is now inaccessible"
2 comentarios
per isakson
el 8 de Abr. de 2016
Editada: per isakson
el 9 de Abr. de 2016
Could it be that addpath_recurse.m isn't in the search path of Matlab, because the current directory has been changed?
Respuesta aceptada
per isakson
el 9 de Abr. de 2016
Editada: per isakson
el 10 de Abr. de 2016
- The "installation programs" of Matlab toolboxes (The MathWorks excluded) varies. You have to follow the specific instructions - if there are any ;-(   Installation of many toolboxes consists of two simple steps. Copy a bunch of m-files to a folder and add that folder to the path (and save the path).
- I don't know anything specific about the installation procedures of these two toolboxes.
- "type the savepath command"   has effect only if folders have been added by the "installation program" (your question hints that at least one required folder had not been added).
- There is a little tool called Set Path. However, first see: What Is the MATLAB Search Path?. Use Set Path to find out whether the folders of the two toolboxes are in the path. Add folders if needed and remove the folder(s) of the old version of gurobi5 (hopefully the versions are in different folders). Test the functions and if it works save the path.

1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing 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!