I have a main function which outputs image I, J. I need to read these I, J as inputs in another function (comb.m). I have tried declaring I, J as global but when I run comb.m, it's showing undefined variable I, J. How to call it correctly?

Similar questions and discussions