Is there a limit to the number of uicontrols you can put in a App Designer tool? Unrecognized property 'CheckBox' for class
4 次查看(过去 30 天)
显示 更早的评论
I am building an app (CreepFitTool8), that worked fine until I added one more label or checkbox. Without adding the CheckBox it runs fine, but after I add it it gives me the message 'Unrecognized property 'CheckBox' for class 'CreepFitTool8'.
Unrecognized property 'CheckBox' for class
'CreepFitTool8'
Error in CreepFitTool8 (line 5021)
The error appears in the function creatComponents(app) secton of component initialization. I see the CheckBox matlab.ui.control.CheckBox listed in the properties (Access = public) section of my classdef. But let me emphasize that I am only creating this component by dragging and dropping it from the common component library.
It is a pretty complex application with 255 matlab.ui components. I thought perhaps it is limited to 254 components? Is there a work around?
0 个评论
回答(1 个)
Ayush
2023-8-25
I don't think there is a limit on number of "uicontrols" but there are few limitations:
1. Performance: App Designer performance may be affected when dealing with a large number of components or complex apps. It is recommended to keep the number of components and the complexity of the app within reasonable limits for optimal performance.
2. Memory Usage: App Designer apps consume memory, and the amount of memory required depends on the size and complexity of the app. Large apps with many components and extensive data processing may require more memory.
3. Graphics Rendering: App Designer uses the MATLAB graphics system to render components and plots. The performance of rendering graphics can be affected by factors such as the complexity of the plot, the number of plots, and the available system resources.
These limitations are important to consider when designing and developing apps in App Designer. It is recommended to test and optimize your app's performance and memory usage, and to keep the design and functionality within reasonable limits to ensure a smooth user experience.
Hope this helps!
0 个评论
另请参阅
类别
在 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!