'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 次查看(过去 30 天)
显示 更早的评论
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.
采纳的回答
MathWorks Support Team
2017-2-21
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 个评论
Mikhail
2017-2-22
What if system(['xdg-open ' pwd]) does work fine, but the option is still not there in the right click menu?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!