Unrecognized property 'value' for class 'matlab.ui​.control.L​abel'. app gui .Word to pdf converter

조회 수: 108 (최근 30일)
my app is Word to pdf converter but I have two error

채택된 답변

Mario Malic
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
duna saleh
duna saleh 2020년 11월 14일
Thank you for your help. I am sorry, but I have a new problem
undefined function 'doc2pdf' for input argument of type 'char'.
[status,message]=doc2pdf(docFile,pdfFile);
Mario Malic
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
Dang 2022년 10월 25일
sửa lỗi Unrecognized property 'TEXT' for class 'matlab.ui.control.TextArea'.
  댓글 수: 1
Walter Roberson
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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by