필터 지우기
필터 지우기

Is there a limit to the number of uicontrols you can put in a App Designer tool? Unrecognized property 'CheckBox' for class

조회 수: 3 (최근 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?

답변 (1개)

Ayush
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!

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by