Error message when placing any component in app designer.
이전 댓글 표시
If I create a blank app and I try to place down any component from the component library (a label in this case), an error message window pops up, with the following text:
Unable to add component matlab.ui.control.Label. Component creation failed with error: Too many input arguments.
I did not write a single line of code anywhere, and did not modify any code or settings. I just started app designer by typint "appdesigner" in MATLAB command line and dropped a Label from the left side to the layout. I can add context menu, menu bar and toolbar without any issue. Why is this happening?
댓글 수: 6
Nikhil
2023년 7월 6일
Can you share your model to reproduce the issue?
Sólyomvári
2023년 7월 6일
Nikhil
2023년 7월 6일
Refer to the issue mention in this question and try the workaround : App Designer Error
Sandeep Mishra
2023년 7월 6일
Hello Sólyomvári
One possible reason for this error can be MATLAB doesn't have default path
Can you run the below two commands in MATLAB window and check if it works
>>restoredefaultpath
>>rehash toolboxcache
Sólyomvári
2023년 7월 6일
Sandeep Mishra
2023년 7월 6일
Thanks for confirmation,
I am answering the same to mark the question answered!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!