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'.
[status,message]=doc2pdf(docFile,pdfFile);
and Ihave error
Undefined function 'atrcat' for input arguments of type 'char'.
app.ExportPDFEditFieldLabel.Value= atrcat(pathname,filename);

回答(1 个)

Image Analyst
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);

类别

Help CenterFile 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!

Translated by