MATLAB: How to write code to store the data in a textbox using the format (dd/mm/yyyy) the same image as shown.?.

textbox;

set(handles.DateFind,'String',cellstr(datestr(format, ' -/–/—-')));

Best Answer

set(handles.DateFind,'String',datestr(setDate, 'dd/mm/yyyy'));
where setDate is your datenum value.
I'd suggest not using the outdated (so to speak :) ) datenum but use datetime instead; then you set the desired .Format property for the variable and just use cellstr(setDate)
setDate.Format='dd/MM/uuuu'; % NB: different encoding than datenum with datetime