I am trying to design a GUI console, named e.g. MainConsole where input values are entered and then sent to an external function for further calculations. If in this function a cetain value, e.g. x is generated, and I want to take it back to my console and write it into and edit field (or basically any interactive object, named DPApprox), how can I do that? I tried this:
and did not receive an error message, but the value was not printed into the Edit Field (DPApprox in this case) and MATLAB gave this message:
struct with fields:
LeftPanel: [1×1 struct]
What am I doing wrong?