MATLAB: Matlab functions/scripts

functions

I have four Matlab functions/scripts and I call all the functions/scripts from one main function, but the results where different when I run the individual functions/scripts. can any one help on how to resolve this issue

Best Answer

Without seeing them, no.
If you are using global variables, remove the global calls and pass those variables as arguments to each of your functions instead.