MATLAB: Managing several GUIs through a script

control guisMATLAB

Hello. So I have a few GUIs I have created, and I want to control all of them through one "main.m" script. Which means, passing data from all GUIs to main.m, and from main.m to a GUI. I'm sure it's possible, but how can it be done? I'm pretty sure I can do it with global variables but I'm trying to avoid using them, is there another way?

Best Answer

"I'm pretty sure I can do it with global variables but I'm trying to avoid using them"
Avoiding global variables is a good idea.
"...is there another way?"