How do I display mean value of data in GUI using edit text if I have the formula
1 view (last 30 days)
Rishabh Singh on 6 Dec 2021
If you already have loaded your data into the handles structure and handles.mean_data is the mean value.
Then in order to display it in the EditField, simply add to the callback function,
set(hObject, 'String', handles.mean_data);
If you are using MATLAB version greater than 2015b, I would recommend using App designer. It is more intuitive compared to GUIDE.
Hope this helps.