After creating setup printdlg fails to work

8 visualizaciones (últimos 30 días)
Manu MJ
Manu MJ el 3 de En. de 2012
Hi,
I have created setup for my software using 2009b matlab version using compiler. After creating setup i am unable to perform print action. At the back end program i am using printdlg command.
I am getting an error as below but same not appearing in source code.
??? Error while evaluating uimenu Callback
??? Error using ==> printdlg at 11 PRINTDLG requires exactly one argument.
What is the reason?

Respuesta aceptada

Manu MJ
Manu MJ el 10 de Feb. de 2012
Some times Matlab cheats like when i run the software using source print, printdlg works fine with out requesting any input parameters but after creating setup ans run standalone it throws an error "Pass the required input".
So please always try to pass parameters while printing like
printdlg(gcf);
then it works fine.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by