Borrar filtros
Borrar filtros

undefined function 'doc2pdf' for input argument of type 'char' word to pdf converter

2 visualizaciones (últimos 30 días)
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);

Respuestas (1)

Image Analyst
Image Analyst el 15 de Nov. de 2020
Editada: Image Analyst el 15 de Nov. de 2020
What is atrcat()? Did you mean strcat()? But you should not use that either. You should use fullfile():
app.ExportPDFEditFieldLabel.Value = fullfile(pathname, filename);

Categorías

Más información sobre FPGA, ASIC, and SoC Development en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by