"Not enough input arguments" in Matlab Applications
1 次查看(过去 30 天)
显示 更早的评论
In both the 'property inspector' and 'app designer' I run into similar issues, namely a "not enough input arguments" error when trying to utilise any of the ui elements in said applications.
The image below is the result of simply
- calling imagesc, or any other plotting function, with arbitrary data
- opening the property inspector
- trying to alter an arbitrary property. In this case I tried to change the font from Helvetica to something else, but it happens with any change.

In the app designer, a similar problem appears. The image below is the result of following the official getting started video from Mathworks
- opening a new blank app
- trying to drag & drop a component into the 'design view'

These errors occur both on my work PC and my home laptop, both on the same license but with no other marked similarity.
I'm curious if anyone has run into similar problems and knows a solution. Thank you.
0 个评论
回答(1 个)
Gokul Nath S J
2022-12-6
Hi Nicolas Kruse,
I assume you are using MATLAB in windows operating system, both in your office and at home. I suggest you to try the following workaround.
Kindly open MATLAB with the administrator credentials and try replicating all the steps that you mentioned above.
Also, please refer to the following link related to app designer.
https://in.mathworks.com/matlabcentral/answers/744017-error-not-enough-input-arguments
4 个评论
Jenson
2023-1-31
Hi Gokul,
I have the identical issue with Nicolas has. Is there's a solution yet? It seems only happens on my laptop. Unfortunately it's a company laptop, i can't run it with Admin due to IT rule. However, my colleagues don't see the same issue.
Best,
Jenson
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!