ERROR : Not enough input arguments
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/518037/image.png)
2 个评论
回答(1 个)
CJ Vaughn
2021-2-12
编辑:CJ Vaughn
2021-2-12
Hi Antonino,
Based on the comments in the provided code, it looks like you are using App Designer.
When designing an application using App Designer, it is possible to specify input arguments needed to run the application. The following line indicates that there is one input argument (arg) for this application.
function startupFcn(app, arg)
To enter input arguments, expand the drop-down list from the Run button in the toolstrip. In the second menu item, specify comma-separated values for each input argument. The app runs after you enter the values and press Enter.
For more information on creating and working with input arguments, please see the documentation here:
4 个评论
Image Analyst
2021-2-12
How many arguments does your app need? Supply everything that is needed to run it, whether that is 1 or 2 or 5 or whatever. We don't know but you should.
另请参阅
类别
在 Help Center 和 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!