- Check wether the component is Editable and Enabled
- There is a gap between the uicontrol 'editfield' and the new 'uieditfield'. You could use the 'UserData' property that is available on every component. So if you had this GUIDE code:
Edit field text does not work after migration from Guide to App designer
조회 수: 2 (최근 30일)
이전 댓글 표시
I migrated an application from guide to app designer and it seems that the editable text cannot be edited in the migrated application.
If I add a new editable edit field it does not allow to be edited in the running application.
댓글 수: 0
답변 (1개)
Monisha Nalluru
2021년 4월 14일
There could be two reasons to edit text component not editable:
set(handles.edit1, 'Value', datenum(get(handles.edit1, 'String')));
This should be converted to
app.edit1.UserData = datenum(app.edit1.Value);
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!