'Open Current Folder in File Manager' option does not appear in right click pop-up menu of Current Folder - MATLAB R2016b on Linux OS
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 21 de Feb. de 2017
Comentada: Mikhail
el 22 de Feb. de 2017
In Linux OS, MATLAB R2016b is not showing the option 'Open Current Folder in File Manager' in the pop up menu when I right click on the 'Current Folder' window. This option was available on my previous install MATLAB R2016a.
Respuesta aceptada
MathWorks Support Team
el 21 de Feb. de 2017
This issue might be caused due to a dependency of 'libxml2.so.2' file on 'ZLIB_1.2.3.3' on the Linux system. To verify if this is the root cause of the issue, please execute the following command in the MATLAB Command window
>>system (['xdg-open ' pwd])
If there is an error on executing 'xdg-open' from MATLAB Command window stating ZLIB_1.2.3.3' not found, then the root cause is verified.
As a workaround, you can replace ‘libxml2.so.2’ shipped with MATLAB with your system’s version of ‘libxml2.so.2’. MATLAB’s shipped ‘libxml2.so.2’ depends on ‘ZLIB_1.2.3.3’, which is not available on your machine. In general, the system's ‘libxml2.so.2’ should not have a dependency on ZLIB. Please execute the following commands in your linux terminal:
1. Navigate to <matlabroot>/bin/glnxa64
Note: you can find the location of <matlabroot> by typing "matlabroot" in the MATLAB command line
2. Unlink ‘libxml2.so.2’. Use linux command “unlink” for this purpose.
Note: consider saving a backup copy of this file under another name or in another location
3. Create a symbolic link to the system’s ‘libxml2.so.2’ file by executing the following command -
ln -s /usr/lib64/libxml2.so.2 libxml2.so.2
4. Restart MATLAB
This should resolve the issue and the option of 'Open Current folder in File Manager' should get restored.
1 comentario
Mikhail
el 22 de Feb. de 2017
What if system(['xdg-open ' pwd]) does work fine, but the option is still not there in the right click menu?
Más respuestas (0)
Ver también
Categorías
Más información sobre Software Development Tools 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!