Unrecognized property 'value' for class 'matlab.ui.control.Label'. app gui .Word to pdf converter
108 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
duna saleh
le 13 Nov 2020
Commenté : Walter Roberson
le 25 Oct 2022
my app is Word to pdf converter but I have two error
0 commentaires
Réponse acceptée
Mario Malic
le 13 Nov 2020
There's difference between EditField and EditFieldLabel, also, properties are case sensitive.
Replace this in the first two callbacks. Typo in second - strcat.
ImportimportDocEditField.Value
In third, property Value should be uppercase.
7 commentaires
Mario Malic
le 14 Nov 2020
Modifié(e) : Mario Malic
le 14 Nov 2020
According to function description in FEX, character array is accepted as input argument.
Use fullfile to instead of strcat to construct a full filepath.
Plus de réponses (1)
Dang
le 25 Oct 2022
sửa lỗi Unrecognized property 'TEXT' for class 'matlab.ui.control.TextArea'.
1 commentaire
Walter Roberson
le 25 Oct 2022
The message is correct, there is no property with that name for that class.
Property names are almost always mixed case or sometimes all lower case, but rarely all upper case.
There is no property matching "TEXT" in any combination of case. The text for that class is accessed by the property named Value
https://www.mathworks.com/help/matlab/ref/matlab.ui.control.textarea-properties.html#buh_e24-92_sep_shared-Value
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!