I am creating a function that needs to have a couple of values associated with a file that it loads and does some processing to. The function looks like this (obviously names changed.)
function [outx,outy] = imstupid(image_filename,var1,var2,var3)
G = imread('filename','bmp');
Sorry if this isn't clear, but basically I need to have image_filename be called as text value that is used in the imread function. Thanks!