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!