# MATLAB: How to get the data from edit box of GUI and use in other .m file

getting data from guiguiMATLABmfile

Hello ppl… I want to know that how to use the data or value in the edit box of the GUI and I want to use the same data in some other .m file.. please let me know asap
myVar = get(handleToEditBox, 'String');
save(matFullFileName, 'myVar');