The programming language I use (BASIC) only returns one value from a one-line function. It only performs the operation once. It won't make it easy on me by performing it on an entire array automatically with one call.
In case the above doesn't apply in your case, here are possibilities to try. All take a few more cpu cycles.
* Pass the entire 2 dimensional array (if permitted in matlab)
* If the row is just 4 elements, then pass them as 4 variables: "find_min(k,0), find_min(k, 1), find_min(k, 2), find_min(k, 3)"
* Or just before you call the function: Create a 1-dimension array, then (using a For loop) set its values to the desired row in the 2-dim array. Then pass the 1-dim array only.