I am currently working on a high-volume simulation environment for an end-to-end communications system. My problem is that each stage in the system is compartmentalized into a function call to reduce clutter in my top file, but I need to pass roughly 120 variables through each function. I run the program in batches of ~ 10-12 hours and would greatly appreciate input on the most effective way to transport these variables. I currently have them nested into 6 different structures that I pass directly through the function call, but I have no intuition as to whether or not this is an effective solution. Thanks!
MATLAB: What is the most efficient way to pass many variables between many function calls
computation timefunction callsmemorystructuresvariables
Best Answer