Is there a limit to the number of uicontrols you can put in a App Designer tool? Unrecognized property 'CheckBox' for class
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Ayush
am 25 Aug. 2023
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 Kommentare
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!