First, here the way i'm calling the function :
eval([functionName '(''stringArg'')']); % functionName = 'someStringForTheFunctionName'
Now, I have two functionName
functions in my path, one that take the stringArg
and another one that takes something else. I'm getting some errors because right now the first one it finds is the function that doesn't take the stringArg
. Considering the way i'm calling the functionName
function, how is it possible to call the correct function?
Edit:
I tried the function which
:
which -all someStringForTheFunctionName
The result :
C:\........\x\someStringForTheFunctionName
C:\........\y\someStringForTheFunctionName % Shadowed
The shadowed function is the one i want to call.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With