error at imshow statement and previously its works

2 views (last 30 days)
Error using imresize>parsePreMethodArgs (line 324) Invalid input syntax; input image missing from argument list.
Error in imresize>parseInputs (line 248) [params.A, params.map, params.scale, params.output_size] = ...
Error in imresize (line 141) params = parseInputs(varargin{:});
Error in feature (line 3) window = imresize(window,[50,50]);
Error in images.internal.isFigureAvailable (line 10) if feature('showFigureWindows')
Error in imshow (line 208) if ~images.internal.isFigureAvailable()
Error in q (line 2) imshow(line);

Answers (1)

Image Analyst
Image Analyst on 27 Mar 2014
line() is a built in function, and you should not use it for a variable name. What is line 1 of q.m? Are you defining line as something (and thus destroying the built in line function)?
  2 Comments
sunny dhawan
sunny dhawan on 27 Mar 2014
If i change variale line to someone then again it does not work.. and I again reinstall the matlab it again displays same message

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!