i am using the following gui code
function guitrialvoltageH = uicontrol('Style', 'PushButton', 'String', 'Voltage', ... 'Position', [10, 200, 100, 24], ... 'Callback', {@dataaq});ValueH = uicontrol('Style', 'edit', 'String', '0', ... 'Position', [10, 150, 100, 24]);
here the callback function gives a numerical result (that i put in a variable) but it is shown in the command window.how can i get the result in the static box? it will be very helpful if you give me the code or example.thanks
Best Answer