Error using imshow function

Hi I keep receiving this error when I try to use imshow. Thanks for your help
This is one of the examples where I am having problems-
tiffimage=imread('20200522_AnalyticMS_clip.tif');
subplot(2,2,1), imshow (tiffimage);
Error using images.internal.imageDisplayParseInputs
Attempt to execute SCRIPT imageDisplayParseInputs as a function:
C:\Users\admin\OneDrive\toolbox\matlab\images\+images\+internal\imageDisplayParseInputs.m
Error in imshow (line 253)
images.internal.imageDisplayParseInputs({'Parent','Border','Reduce'},preparsed_varargin{:});

 采纳的回答

Walter Roberson
Walter Roberson 2021-1-11

0 个投票

Your MATLAB, which has been installed on OneDrive, is corrupt, and would need to be reinstalled.
Note: installing MATLAB on OneDrive is risky, due to the buffering behaviour of OneDrive. It is not uncommon for people to find that they need to copy files from OneDrive into local space, work on them locally, and then copy them back if they wrote to them.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Movie 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by