matlab imopen Can't load '/opt/matlab/2018a/bin/glnxa64/libmwdastudio.so'

报错信息:

Error using imdilate (line 135)
Can't load '/opt/matlab/2018a/bin/glnxa64/libmwdastudio.so':
/usr/local/anaconda3/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

Error in strel>MakeDiskStrel (line 1103)
    nhood = imdilate(1, se.decomposition, 'full');

Error in strel (line 205)
                        se = MakeDiskStrel(params{:});

Error in FullTileimgStainFilter (line 3)
background = imopen(img,strel('disk',30));

原因是/usr/local/anaconda3/lib/libfontconfig.so.1 版本太高,
在这里插入图片描述

解决办法切换为1.11.0即可
在这里插入图片描述

你可能感兴趣的:(matlab)