Unrecognized property 'value' for class 'matlab.ui.control.Label'. app gui .Word to pdf converter
110 次查看(过去 30 天)
显示 更早的评论
my app is Word to pdf converter but I have two error
0 个评论
采纳的回答
Mario Malic
2020-11-13
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 个评论
Mario Malic
2020-11-14
编辑:Mario Malic
2020-11-14
According to function description in FEX, character array is accepted as input argument.
Use fullfile to instead of strcat to construct a full filepath.
更多回答(1 个)
Dang
2022-10-25
sửa lỗi Unrecognized property 'TEXT' for class 'matlab.ui.control.TextArea'.
1 个评论
Walter Roberson
2022-10-25
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!