I have a question, is it possible to separate the part of a function into a separate script, which still can get access to inputs of original function and give values back to caller function?
/-------------------------------/<File 1: f.m>function f()input = 1;....% Call the script
script.m....output = output + 1;/-------------------------------//-------------------------------/<File 2: script.m>output = input + 1;/-------------------------------/
Best Answer