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{:});

 Risposta accettata

Walter Roberson
Walter Roberson il 11 Gen 2021

0 voti

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.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by