App Designer auto go to one edit-field component
7 views (last 30 days)
Sivani Pentapati on 7 Nov 2021
Please refer to the below answer for a temporary workaround
Is there a way to set a EditField as ready to accept input in app designer? - MATLAB Answers - MATLAB Central (mathworks.com)
In order to make it working with respect to R2021b, change the startup function to the below code, by adding a pause between the declaration of the Robot and key press function call. Adding another pause between the key press and key release would let you type into the field during the corresponding interval.
rob = Robot;
pause(10) %duration for which the edit field is enabled