How to trace the effect of a change in one function in a program on another function in the same program?
Show older comments
The general structure of my program is a fairly simple one:
main program
function1(x,y,z);
function2(x1,y1,z1);
functionN(xN,yN,zN);
main program ends
Now if I change something in function1 code, how can I trace the effect of that change in the other functions that get affected.
Thanks.
3 Comments
Jan
on 24 Feb 2011
The question is not clear enough. What does "trace the effect" mean? How are the functions affected?
Walter Roberson
on 24 Feb 2011
For example, are you using global variables? Sharing data through some mechanism? Or is the structure actually different than that shown, with some of the routines having outputs that become inputs to other routines?
Peeyush
on 28 Feb 2011
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!