grid_generator On line 69

10 次查看(过去 30 天)
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