grid_generator On line 69

조회 수: 10 (최근 30일)
jijun
jijun 2012년 7월 6일
why after typing ‘grid_generator;’ and pressing ‘ENTER’ at the command line of matlab,The following hints appear:
??? Error using ==> imshow (ParseInputs)
Invalid input arguments; see HELP IMSHOW
Error in ==> D:\MATLAB6p5\toolbox\images\images\imshow.m
On line 90 ==> [imtype, cdata, cdatamapping, clim, map, xdata, ydata, filename, ...
Error in ==> D:\MATLAB6p5\work\Digital_Image_Correlation_2010b\grid_generator.m (gridtypeselection)
On line 69 ==> imshow(im_grid,'InitialMagnification',100); %show chosen Image
Error in ==> D:\MATLAB6p5\work\Digital_Image_Correlation_2010b\grid_generator.m
On line 53 ==> [grid_x,grid_y,FileNameBase,PathNameBase] = gridtypeselection(FileNameBase, PathNameBase, im_grid, grid_x, grid_y,1); %call gridselection

채택된 답변

Walter Roberson
Walter Roberson 2012년 7월 7일
You are using code designed for R2010b with your R13 MATLAB.
If you remove ,'InitialMagnification',100 from line 69 of grid_generator.m then you will be able to get further (but might fail on other lines.)

추가 답변 (1개)

jijun
jijun 2012년 7월 8일
thank you very much.I am a beginner,I will ask some simple question.Thank you.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by