S_NEW = STRUCTDLG(S_OLD) creates a modal dialog box that asks the user for the new values of each field in the structure S_OLD, then it creates a new structure S_NEW with the same fields but new values.
In other words, this function takes a structure as input, then it automatically builds a graphical user interface to modify its field values. It is based on INPUTDLG.
Really what I was looking for!
This utility is very useful and is very simple and intuitive.
When a more powerful structdlg utility is needed I could be preferable to look to the structdlg version provided by
Alon Fishbach (you can find it in this forum, also).
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.