使用matlab时,点击工作区打开变量时,就会有以下问题,以前可以正常使用。
错误: 文件: D:\Matlab2021a\toolbox\matlab\codetools\openvar.m 行: 97 列: 12
无法找到或导入 'matlab.internal.lang.capability.Capability'。导入的名称必须以 '.*' 结尾或是完全限定的名称。
subplot(2,2,1);
imgmul=cat(3,Image(:,:,3),Image(:,:,2),Image(:,:,1));%合成3维矩阵
colormap(colorcube);
imshow(uint8(imgmul));
colorbar;
title('前三个波段组合图像');
subplot(2,2,2);
img1=Image(:,:,1);
colormap(gray);
imshow(uint8(img1));
colorbar;
title('第一个波段灰度图');
subplot(2,2,3);
img2=Image(:,:,2);
colormap(gray);
imshow(uint8(img2))
colorbar;
title('第二个波段灰度图');
subplot(2,2,4);
img3=Image(:,:,3);
colormap(gray);
imshow(uint8(img3))
colorbar;
title('第三个波段灰度图');
% axis off;