A GUI in Matlab is nothing special, it simply provides an interface between the user and the functions you write separately. For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
As long as you store the handles to the relevant objects in a place where both functions can reach it, there should be no problem linking anything (although linking may not be the correct term).