I have a script where I call, several times, a function called FCN in its code. I'm testing different functions for my problem. But for each one I want to test I must rename that file to FCN.m so it is called correctly by the script.
Let's say I want to keep the files named as FCN1.m, FCN2.m, FCN3.m, …, but in my script (Main.m) I would like that I type somewhere the name of the file with the function I want to test and when i call y = FCN(x,z) it will understand which of the files I`m testing.
Thanks
Best Answer