MATLAB: What methods do you use to bring the variable data from an external program or function into a guide GUI function file

guideMATLABmatlab gui

Pleae share the way you manage to bring the variables(which are updated in the external program/functions)from external program/functions into a matlab gui functions.
[Meaning the GUI function is defined in a seperate file and your main function is written in another file.]

Best Answer

  1. Load required parameter into Matlab (base) workspace
  2. Use evalin() to load the specified parameter into the GUI.