'Open Current Folder in File Manager' option does not appear in right click pop-up menu of Current Folder - MATLAB R2016b on Linux OS
6 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2017 年 2 月 21 日
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!