undefined function 'doc2pdf' for input argument of type 'char' word to pdf converter
조회 수: 2 (최근 30일)
이전 댓글 표시
My project is a word to pdf converter, but I have an Euror
undefined function [doc2pdf'] for input argument of type 'char'.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/414438/image.png)
[status,message]=doc2pdf(docFile,pdfFile);
and Ihave error
Undefined function 'atrcat' for input arguments of type 'char'.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/414433/image.png)
app.ExportPDFEditFieldLabel.Value= atrcat(pathname,filename);
댓글 수: 0
답변 (1개)
Image Analyst
2020년 11월 15일
편집: Image Analyst
2020년 11월 15일
What is atrcat()? Did you mean strcat()? But you should not use that either. You should use fullfile():
app.ExportPDFEditFieldLabel.Value = fullfile(pathname, filename);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 FPGA, ASIC, and SoC Development에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!