'Open Current Folder in File Manager' option does not appear in right click pop-up menu of Current Folder - MATLAB R2016b on Linux OS

4 views (last 30 days)
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. 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Feb 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.
 

More Answers (0)

Products


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!