grid_generator On line 69
7 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Walter Roberson
on 7 Jul 2012
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.)
0 Comments
More Answers (1)
See Also
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!